Web Hosting Talk







View Full Version : .htaccess failing on mod_userdir


Jeffyt
06-02-2002, 02:46 PM
Hello,

I have noticed that you can access .htaccess controlled directories on my server by pointing a browser at http://mainserver.com/~user/protected-dir. Obviously mod_userdir is in use. The main server configuration says AllowOverrides None, the virtual server section for each VS is AllowOverride All.

The .htaccess works if you were to point directly at http://userdom.com/protected-dir, but fails the other way. Is this normal behavior? Would I need to set AllowOverride Limit (or something) to remedy this situation?

Regards,

Jeff

webx
06-03-2002, 01:08 AM
Since mod_userdir is enabled, you need to change it in

<Directory /home/*/public_html>
AllowOverride All

or whatever your directory structure is and whatever permissions you want to set. The sample configuration is available in default httpd.conf.

Hope this helps :)

Jeffyt
06-03-2002, 11:45 AM
Aha, thanks a bunch masood.

Regards,

Jeff

webx
06-03-2002, 02:18 PM
Originally posted by Jeffyt
Aha, thanks a bunch masood.

Regards,

Jeff

Glad to be of help. :)