You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Matthew Daubenspeck <ma...@oddprocess.org> on 2002/09/15 19:37:32 UTC

Re: [users@httpd] .htaccess is ignored

On Sun, Sep 15, 2002 at 01:48:38PM -0400, Frank P. Troy wrote:
> Hi,
> 
> 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
> information.
> 
> 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.

# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options",
# "FileInfo", 
# "AuthConfig", and "Limit"
#
    AllowOverride All

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org