Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

The tag has no usage guidance.

0
votes
0answers
13 views

CentOS: Can Default, Empty Folders Be Deleted? [migrated]

After a CentOS 7 Minimal install, and a yum update, I analyzed the folders. The following folders either have nothing inside them, or they only have inside them folders which have nothing inside them (...
0
votes
0answers
13 views

CentOS: Why So Many Redundant Folders? [migrated]

After a CentOS 7 Minimal install, and a yum update, I analyzed the folders. / and /usr/ and /usr/local/ all have: bin etc lib lib64 sbin / and /usr/ both also have: tmp /usr/ and /usr/local both ...
0
votes
1answer
24 views

.htaccess rewrite rules working on Mac Apache 2.2 but not on CentOS Apache 2.4

I've run into an issue when moving from a test server to a production server. I have a set of .htaccess rules in a file in the public_html site root: #Root directory htaccess RewriteEngine On # ...
0
votes
0answers
37 views

How to continue or restart a failed Certbot transaction

We run a web server for a free/open source project on a CentOS 7 VM. We have Apache 2.4 installed from Red Hat's Software Collections (SCL). We also installed EFF's Certbot from EPEL to manage HTTPS ...
0
votes
0answers
127 views

Setup port-based virtualhost on WHM/cPanel environment?

I have root access on the following environment: Bluehost VPS - WHM 70, CentOS 6.1(kvm), Apache2.4(EasyApache4) /SSL enabled Bluehost cPanel seems to indicate deprecating adding a rails app function, ...
2
votes
1answer
32 views

HTTPS request connection timeout (NGINX)

I tried a lot by reading different answers on Stackoverflow and other forums but unable to identify the error, can someone please check the below configuration and tell me what could be wrong? server ...
0
votes
0answers
100 views

Server has been hacked. CXS Cleaned it up but hackers keep uploading scripts

On Centos X64 / Apache / WHM / Cpanel When I look in my apache_logs I see THOUSANDS of these types of LOGS. various days, always a different IP over and over and over. What are they trying to do? ...
0
votes
0answers
227 views

Trying to remove “The X-powered header is sent within the response header.” on Apache/nginx

I am trying to address the above issue which is cropping up in SEO. The following solution is the one that is suggested: <IfModule mod_headers.c> # Unset Server Signature header ...
2
votes
1answer
637 views

Configure Apache to redirect all requests to index.html?

A CentOS 7 server is hosting a web application in /var/www/someapp/public_html. Requests for mydomain.com get served the file located at /var/www/someapp/public_html/index.html. The user can then ...
2
votes
0answers
2k views

What does “Require all granted” on Directory / (root) REALY means? (Apache 2.4 on CentOS7

im sure, this question looks really stupid first. but i need a "second opinion" on this, even i did some research on my own but i am still unsure about this. By default the Apache Configuration on ...
5
votes
1answer
1k views

Error when pruning WHM backups sent offsite via FTP

We're using WHM 64.0 on a CloudLinux 6.9 dedicated host. We have a scheduled backup configured that backs up each hosted cPanel, as well as the system files. The backup also FTP's the backup files ...
1
vote
1answer
13 views

VirtualHost add sub domain? [duplicate]

I rarely touch apache configs but I must be doing something wrong here. trying to set it up so these domains point to different webroots: example.com -> var/www/html ggurt.example.com -> var/www/...
1
vote
1answer
53 views

Help with server hostname

I have bought a domain, let's call it example.net. I am setting up a CentOS 6 home server with CentOS Web-Panel. I am planning to host at least one site from this domain, possible 2 if I can use sub-...
4
votes
1answer
914 views

Cloudlinux + CageFS + PHP Selector - how to update default php.ini for each PHP version or for each domain account?

My server runs Cloudlinux 5.11 with CageFS and PHP Selector. Default PHP version is 5.3. I have one account using PHP 5.3, one account using PHP 5.5, and one account using PHP 5.6. I'm trying to ...
2
votes
2answers
479 views

Parse Python script on Apache virtual host

I have an up and running Apache server working with PHP on a Centos 6 server. Apache was installed using yum -y install httpd mod_ssl. I now wish to add Python. I installed Python as follows: wget ...
1
vote
0answers
1k views

VestaCP Exim is not sending emails

Recently i did VestaCP install on a new server of my own, and then, created two users and uploaded site&database content to it, and so, everything was working normally, except for one thing, that ...
1
vote
1answer
91 views

Website redirects to the default cPanel error page in specific countries

I am using CENTOS 6.7 x86_64 xenhvm and WHM 11.50.2 (build 0). I have no rules in my ModSecurity and no IP or region specific restrictions from htaccess. The DNS zone was also checked and seems to be ...
2
votes
1answer
82 views

Cannot restore account from cpmove backup

I hope some one can point me in the right direction here, I am trying to move a Cpanel account from a dedicated server to a small VPS however when I try to restore the account on the destination VPS I ...
1
vote
0answers
55 views

Realtime analytics show page view gain and drop every other minute

I have a server running Centos and Nginx and am noticing this in Analytics The server keeps gaining to around 800-1000 page views per minute and then everytime it will drop to around 4-500 the ...
0
votes
1answer
134 views

Install control panel without installing Apache and MySQL

I have a VPS running CentOS and already have Apache/MySQL installed. I want to install some control panel but it seems all of them include Apache, MySQL and some other softwares that I don't really ...
1
vote
0answers
104 views

mod_fcgid: stderr: Problem with the SSL CA cert (path? access rights?) [closed]

Some days ago I started to get these errors from my Wordpress website. [Sat Jan 31 07:51:34 2015] [warn] [client server's IP] mod_fcgid: stderr: Problem with the SSL CA cert (path? access rights?)...
2
votes
2answers
2k views

WHM Root Password Stops Working

I have WHM hosted on a virtual-dedicated Linux Enterprise Centos 5 server hosted at iWeb. Now and then my root password will stop working. I will get a red message saying: "The login is invalid." ...
3
votes
1answer
224 views

Rewrite rule to handle urls that start with a slash, have only numbers and letters, and may end with a slash is not working

im attempting to get my URL to resolve something like http://example.com/?image=2VMt2 Thus my index.php using the [GET] method in PHP to resolve into my domain http://example.com/2VMt2 The rule I ...
1
vote
1answer
45 views

Page requesting content from another IP

I was running a drupal website on Server 01 with IP1 on the domain name example.com with the configuration centos 6 and apache. As we were having a traffic spike, we wanted a more powerful machine. ...
1
vote
1answer
2k views

Virtualmin cannot connect to MySQL database

I have a VPS running Webmin/Virtualmin. I host multiple domains, one of which is a Drupal 7 website that uses a MySQL database. Yesterday I went to 'Manage' the database and found that I recieved the ...
1
vote
1answer
1k views

How to change cPanel URL? Example: mydomain.com/cpanel

I want to change my website's cPanel URL/path for security reasons. I have a VPS with shell root access, running centOS 6.5 64-bit. I want to change cPanel path for my website on the VPS to be ...
1
vote
1answer
2k views

How can I check memory usage for each cPanel account?

Currently I have 4 cPanel accounts running on my VPS. I need to check the memory (RAM) usage for each account on the VPS to identify which of them is using high resources in order to ban. I opened the ...
2
votes
1answer
415 views

Upgrading Apache 2.2 to Apache 2.4 [closed]

I'm planning to upgrade Apache 2.2 running on my centOS 6.5 server to Apache 2.4, Does the new Apache version worth the update?
1
vote
1answer
4k views

How do I upgrade the PHP MySQL Library?

My PHP MySQL Library version is out of date with my MySQL Vesion. How do I fix this? Server: CentOS 6.3 Steps Taken: FRESH machine originally installed with MySQL 5.1 and PHP 5.3 I uninstalled php ...
1
vote
1answer
339 views

REST webservice full implementation: server + client

I've spent a week reading about RESTful webservice and searching for a fully example to build my project above. When I reach a fully understanding of the REST webservice, I couldn't find any full ...
4
votes
1answer
96 views

How to determine the sequence of ordering certificates by browser?

I did a Mutual Certificate Authentication implementation with OpenSSL and Apache Web Server on CentOS platform. To simple explanation see this diagram: ---------- | ...
1
vote
0answers
120 views

Apache Rewrite to folder no longer working after server upgrade [closed]

The following were both working perfectly for the last 2 years but after a server upgrade the first, with an extra folder is no longer working: RewriteCond %{HTTP_HOST} ^www\.mayoaccommodation\.com$ [...