htaccess and apache
Posted: Fri Dec 11, 2009 12:47 pm
Hi there!
I just installed apache and it's working great (so far), but I was just wondering if there's something I need to do so that I can make .htaccess work. I made this .htaccess file in /var/www/XXX/XXX/:The path to AuthUserFile is correct, and when I'm opening myhost.com/XXX/XXX, it doesn't ask for login or anything.
Thanks for any help.
I just installed apache and it's working great (so far), but I was just wondering if there's something I need to do so that I can make .htaccess work. I made this .htaccess file in /var/www/XXX/XXX/:
Code: Select all
AuthUserFile /var/htpasswd/.xxx
AuthGroupFile /var/htpasswd
AuthName "Password Protected Area"
AuthType Basic
<limit GET POST>
require valid-user
</limit>Thanks for any help.