Error 404 on Local Interface

From Wiki

Jump to: navigation, search

Question

Local interface returns 404 after 1H has been installed. What should I do?

Answer

This issue is most commonly caused by mod_userdir being disabled globally in the default virtual host for the server primary IP address. This can be easily fixed by adding the following option in the first VirtualHost occurrence for the server IP address in the Apache configuration file (/usr/local/apache/conf/httpd.conf) for this machine. You should add the following option:

UserDir enabled 1h

Once you do that you need to reload the web server configuration by executing:

/etc/init.d/httpd graceful

Alternatively if you are using cPanel and the Apache mod_userdir tweak enabled in WHM you can simply exclude the 1h username from it.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox