All posts tagged apache

How can I tell if mod_rewrite is enabled for my server?

We have our servers with mod_rewrite pre-configured (enabled). You can see this by running

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

Where can I find my Apache error log?

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

How do I access the apache configuration?

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

Apache shows error “VirtualHost *:80 — mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results

If Apache shows the error:

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