06-21-04 04:13 AM
I've got an apache 2.0 server running on Red Hat Linux 8.0, and I've
tried to secure a couple of directories with basic authentication. I
can get around my site just fine, accept when I try to access the
secure portions; I am always presented with the username/password
dialog box three times before getting a 401 Error page.
In httpd.conf, I've setup the AccessFileName directive for the default
of .htaccess. There's a Directory section in httpd.conf for the
secured locations including an AllowOveride all directive. .htaccess
includes the following:
AuthName "Secured"
AuthType Basic
AuthUserFile /location/of/file
require user myUserName
AuthAuthoritative on
The user file exists at the location specified, and it includes the
correct username and password, which is, of course, encrypted.
Any ideas?
[ Post a follow-up to this message ]
|