[KLUG Members] htaccess
Russell Dillenburg
members@kalamazoolinux.org
Mon, 14 Jul 2003 11:04:04 -0500
Ah, very good! Thanks for the helpful tutorial Joe! Well done!
-----Original Message-----
From: members-admin@kalamazoolinux.org
[mailto:members-admin@kalamazoolinux.org]On Behalf Of Joe Budzynski
Sent: Monday, July 14, 2003 9:30 AM
To: members@kalamazoolinux.org
Subject: Re: [KLUG Members] htaccess
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
_______________________________________________
Members mailing list
Members@kalamazoolinux.org