Hi,
i got a apache (1.3.9) on debian (potato) running with many virtual Hosts,
everything ok so long.
But when i try to use basic authorisation via a .htaccess-file, i can't
access my site with any user. e.g.:
VHost slanschuetzer.gre-dv.at:
httpd.conf:
User www-data
Group www-data
.
.
LoadModule auth_module /usr/lib/apache/1.3/mod_auth.so
.
.
<VirtualHost 193.81.236.31>
DocumentRoot /var/www/slanschuetzer.gr-edv.at
<Directory />
Options FollowSymLinks
AllowOverride ALL
</Directory>
ServerName slanschuetzer.gr-edv.at
ErrorLog /var/log/apache/slanschuetzer.gr-edv.at-error.log
TransferLog /var/log/apache/slanschuetzer.gr-edv.at-access.log
</VirtualHost>
.htaccess:
AuthType Basic
AuthName "Fuer lanschue und magic zugaenglich."
AuthUserFile ./pwd
<Limit GET>
Require user valid-user
</Limit>
user lanschue and magic are entries in the
/var/www/slanschuetzer.gr-edv.at/pwd - file
and /var/www/slanschuetzer.gr-edv.at has the rights:
drwxrwxr-x lanschue wwwstaff ........
and when i try to access the site via a browser, i get no access and
following errors in my error-log:
[Sat Aug 17 18:18:32 2002] [error] [client 62.46.226.146] access to /
failed, reason: user magic not allowed access
(trying a user not in my pwd-file gives me the error: "user xxxx not found:
/" so my pwd-file is really read.
has anyone an idea, why my valid users don't get access?
thanks,
Stefan