httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] Re: Help with mod_auth...
Date Wed, 30 Jul 2003 14:32:34 GMT

On Wed, 30 Jul 2003, Jason Michael wrote:

> Joshua:
>
> I found the error_log.  Here's what it said this morning when I tried to
> login with my "admin" account: [Tue Jul 29 17:41:32 2003] [error]
> [client 139.126.90.153] (13)Permission denied: Could not open password
> file: /var/www/passwd/.htpasswd, referer: http://dell1600sc
>
> [Tue Jul 29 17:41:32 2003] [error] [client 139.126.90.153] user admin
> not found: /protected/index.php, referer: http://dell1600sc
>

There yah go.  The first error says that the password file is not readable
to the User/Group specified in httpd.conf.  Most likely you want to do
something like this:
chmod +x /var
chmod +x /var/www
chmod +x /var/www/passwd
chmod +r /var/www/passwd/.htpasswd
(You may want to be a little more restrictive about that last one.  For
example, you could change the group ownership to the same as the Group in
httpd.conf, and then make it only group readable.)

JOshua.

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