Hello all,
I got this problem with my apache running on my gentoo server...=(
My document root is
/var/www/localhost/htdocs
and if I put in a .htaccess file that looks like this in
/var/www/localhost/htdocs/test/
Code:
/var/www/localhost/htdocs
AuthUserFile /var/www/localhost/.htpasswd
AuthGroupFile /dev/null
AuthName EnterPassword
AuthType Basic
require user smurf
and it works realy well.. I get an box that asks me
Then I have a lot of vhosts ... For instance one that goes to
/var/www/localhost/www.mydomain.com
my vhosts.conf has a line that looks like this:
DocumentRoot /var/www/localhost/www.mydomain.com
I can browse that page without problem, yet when I put in the exactly same .htaccess file as abowe, i dont get to a responce that asks for username and password.. It seems to skip the .htaccess file
Does anyone now what I have done wrong?
Can anyone help me??=)
Regardz,
-- Rincewind