Problem: user authentication in Apache II

Problem: user authentication in Apache II

Post by Jean-Sebastien Fouillad » Thu, 18 Jan 1996 04:00:00

How does user authentication work in Apache ?

                Jean-Sebastien Fouillade
                Orb Weavers, Inc.


URL    :


1. Apache user authentication problem


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

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) unknown test [24/May/1995:08:59:11 +0200] "GET /secret HTTP/1.0" 302 - unknown - [24/May/1995:08:59:11 +0200] "GET /secret/ HTTP/1.0" 401 - unknown test [24/May/1995:08:59:33 +0200] "GET /secret/ HTTP/1.0" 200 152

Does this explain something ?

Any help appreciated !


Teijo Heimola
Nokia Mobile Phones/Cellular Data

2. Q: Sendmail V8

3. Apache-User Authentication Problem!

4. [Fwd: Sockets]

5. Problem: user authentication in Apache

6. Problem reading HPFS partition

7. Apache User/Password Authentication with proxy and SSL enabled problem

8. linux-2.2.5 network resource leak?

9. Apache 1.3.6: User authentication againt NT domain?

10. User Authentication with Apache Server and PostgreSQL

11. Apache user authentication

12. User Authentication with Apache 1.0.3 (soon 1.1.1)

13. Apache module for mSQL user authentication