On 24 Feb 2004 09:51:21 -0800, ed west <(E-Mail Removed)> wrote:
> Hello,
>
> I am having some trouble getting user authentication on apache
> working. I am using apache 2.0.40 on RedHat 9, kernel version
> 2.4.20-20.9. I made a password file .htpasswd with htpasswd, chown
> apache.apache, made sure the directory it is in is world readable, and
> made the changes to httpd.conf (and restarted apache).
Does .htpasswd have 644 permission (or at least 604)? Is the dir 755?
You mention read permission (which allows dir listing), but dir needs 'x'
permission to access it. Apparently there is also a problem with your
ErrorDocument. What do your server logs say?
><Directory /www/somedir/bla/hblah/blah/phpMyAdmin>
> AuthType Basic
> AuthName "phpMyAdmin"
> AuthUserFile /www/somedir/.htpasswd
> require valid-user
></Directory>
>
> I get the following error - any suggestions? Do I have to do
> something with Limit? Thanks!!
No you do not need Limit to password protect all access to that path
> 401 Authorization Required
> Authorization Required
>
> This server could not verify that you are authorized to access the
> document requested. Either you supplied the wrong credentials (e.g.,
> bad password), or your browser doesn't understand how to supply the
> credentials required.
>
> Additionally, a 404 Not Found error was encountered while trying to
> use an ErrorDocument to handle the request.
--
David Efflandt - All spam ignored
http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/