httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] .htaccess is ignored
Date Mon, 16 Sep 2002 07:42:12 GMT
As other respondents have pointed out, you need "AllowOverride AuthConfig" in the main httpd.conf
to allow the server to read the .htaccess file. However, once it does read it, you will get
no access at all to the directory because of the big "Deny from all" directive...

If you are trying to mix authentication with IP-based access control (Allow, Deny) then you
should look at the "Satisfy" directive - see docs for details.


Owen Boyle

>-----Original Message-----
>From: Frank P. Troy []
>Sent: Sonntag, 15. September 2002 19:49
>Subject: [users@httpd] .htaccess is ignored
>I am having problems getting apache to recognize the .htaccess 
>file and I am
>not sure what I am doing wrong.
>I am running Apache 1.3 on Linux 2.2.  I have created the password file
>using htpasswd and have verified it created the file.  I have 
>placed the
>.htaccess file in the appropriate directory and it contains standard
>Deny from all
>AuthType Basic
>Require valid-user
>AuthName "By Invitation Only"
>AuthUserFile /usr/local/apache/passwd/passwords
>Require user frank
>However, when I load the directory that contains the .htaccess 
>file, I am
>not prompted for a password and the data in the directory is displayed.
>Any help is appreciated.
>The official User-To-User support forum of the Apache HTTP 
>Server Project.
>See <URL:> for more info.
>To unsubscribe, e-mail:
>   "   from the digest:
>For additional commands, e-mail:

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message