[KLUG Members] htaccess
Joe Budzynski
members@kalamazoolinux.org
Mon, 14 Jul 2003 11:30:13 -0400
It seems that your having your "AuthUserFile" point to the wrong file.
It should be pointing a file named ".htpasswd" in the same directory
that your ".htaccess" is in. This file will contain the username and
hashed password for authentication.
When I was setting this up for my own site, I found the following
tutorial extremely helpful...
http://www.euronet.nl/~arnow/htpasswd/documentation.html
The author of that tutorial also has a tool to create the hashed password...
http://www.euronet.nl/~arnow/htpasswd/
Hope this helps...
Joe
Russell Dillenburg wrote:
> I'm trying to get htaccess to work for some basic http authorization.
>
> [root@NS admin]# cat .htaccess
> AuthUserFile /var/www/.htaccess
> AuthGroupFile /dev/null
> AuthName "Login"
> AuthType Basic
>
> require test
> [root@NS admin]#
> When I go to this page it is prompting me for user/pass, but when I type
> it in it just fails and after third try comes back with authorization
> failed.
>
> Any suggestions?
>
> Thanks,
> Russell