Apache user authentication problem

Apache user authentication problem

Post by Teijo Heimo » Thu, 25 May 1995 04:00:00



Hi,

I have some strange user authentication problems with
Apache (ver 0.6.4b). I have protected a directory /secret
in access.conf:

<Directory /usr/local/etc/httpd/htdocs/secret>
Options FollowSymlinks
AllowOverride None
AuthUserFile /usr/local/etc/httpd/conf/.htpasswd
AuthGroupFile /usr/local/etc/httpd/conf/.htgroup
AuthName Password protected
AuthType Basic
<Limit GET>
 require group group1
</Limit>
</Directory>

When I try to access /secret I am prompted for a username and
a password TWICE. Why ? It works but I guess something is wrong....

In access_log: ("test" is the username)

mypc.nmp.nokia.com unknown test [24/May/1995:08:59:11 +0200] "GET /secret HTTP/1.0" 302 -
mypc.nmp.nokia.com unknown - [24/May/1995:08:59:11 +0200] "GET /secret/ HTTP/1.0" 401 -
mypc.nmp.nokia.com unknown test [24/May/1995:08:59:33 +0200] "GET /secret/ HTTP/1.0" 200 152

Does this explain something ?

Any help appreciated !

Regards,

Teijo Heimola
Nokia Mobile Phones/Cellular Data