All posts tagged apache
We have our servers with mod_rewrite pre-configured (enabled). You can see this by running
|
# Centos apachectl -M # Ubuntu / Debian apache2ctl -M |
If you are going to use rewrite rules in .htaccess, make sure the htaccess support is enabled for the domain. This can be done in the control panel, under the web hosting configuration section. A . . . Read more
The location of the main apache error log is inside /var/log/apache2/error_log. This will show all diagnostic information of your Apache server. You also have access to an error log per domain. Depending on your Operating System, the location of your domain log might change. You can check the location of . . . Read more
You can access/edit all of Apache’s configuration files in VPS control panel. Click on ***Applications > Apache > Config *** and choose the config files you wish the edit. To change the Apache configuration files manually go to: CentOS: /etc/httpd/conf/httpd.conf Ubuntu: /etc/apache2/apache2.conf
If your Apache web server stops responding and serving content, while you see there is plenty of memory available and low CPU usage, this could be a symptom of Apache reaching the MaxClients limit. If you look in the main Apache error log, you will probably find this error: server . . . Read more
If Apache shows the error:
|
VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results |
it means that your VirtualHost sections are not matching the NameVirtualHost directive in your configuration. To fix this follow these steps: Locate the directive NameVirtualHost, by default it should be something like: NameVirtualHost *:80 Look at your VirtualHost declarations, they should match the NameVirtualHost, . . . Read more