0

Using CentOS 6.5 I am trying to completely disable User Dir functionality so that /~ will not work at all. My httpd.config

UserDir disabled

and

#UserDir public_html

And also commented out

#LoadModule userdir_module modules/mod_userdir.so

but when I browse my website, if I put /~root I get a message in Firefox:

The connection was reset.

It should not treat ~root any different than any other link that does not exist. I am using Magento so for any other link that does not exist Magento displays:

Oops page not found

but for ~root it seems like it is bypassing Magento and providing a different error.

dawud
  • 14,918
  • 3
  • 41
  • 61
  • The place to start looking is the webserver access_log and/or error_log files. – HBruijn Jul 09 '14 at 14:53
  • There is only 1 website on this server. When I look at my website specific logs I can see the other ~testhasgds that I am trying but not the ~root – user3404205 Jul 09 '14 at 15:04
  • When I look at the general access_log and error_log I do not see any entry with the ~root – user3404205 Jul 09 '14 at 15:04
  • The logs I am looking at are in etc/httpd/logs any other place that related logs can be? – user3404205 Jul 09 '14 at 15:06
  • Additional log files per virtual host can be specified in VirtualHost stanza's – HBruijn Jul 09 '14 at 15:23
  • No other log files have been configured under virtualhost. I also tried ErrorDocument 404 and ErrorDocument 403 in httpd.conf but that did not seem to make any difference. – user3404205 Jul 09 '14 at 20:30
  • Just tested and on my CentOS 6.5 books trying to access an /~root simply triggers a 404, odd... – HBruijn Jul 09 '14 at 20:33

0 Answers0