httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Meadors <clubn...@hereintown.net>
Subject Re: [users@httpd] confused with directory permissions
Date Mon, 02 Dec 2002 02:40:58 GMT
Jordan Thompson wrote:

> My log says:
> [Sun Dec  1 16:20:17 2002] [alert] [client 192.168.1.1]
> /var/www/html/viasat/.htaccess: AuthName not allowed here
> 
> What does this mean?
> 
> Here is my .htaccess file:
> AuthName "ViaSat Downloads"
>   AuthType Basic
>   AuthUserFile /var/www/httpd/viasat.users
> 
>   require valid-user
> 
> I dug a little more and found my access.conf.  I added the line:
> AllowOverride AthConfig

AthConfig or AuthConfig?

You are probably going to want it to actually read:

AllowOverride Options AuthConfig

(the Options part allows you to set the Indexes option in the .htaccess)

> It still does not prompt me for a username/password when I try to access the
> directory with the .htaccess file (it just gives me the internal server
> error above.)

It won't prompt you until the .htaccess file can be parsed correctly.

-- 
Chris


---------------------------------------------------------------------
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


Mime
View raw message