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.