httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Astrid Hendra" <Ast...@sigel.co.nz>
Subject RE: [users@httpd] .htaccess + htpasswd NOT working
Date Wed, 26 Feb 2003 22:16:50 GMT
The apache user is www-data.
I tried chmod 644, then logged in as www-data and it was able to access the file using cat.

Regards,

Astrid Hendra.

-----Original Message-----
From: Jacob Coby [mailto:jcoby@listingbook.com]
Sent: Thursday, 27 February 2003 11:05
To: users@httpd.apache.org
Subject: Re: [users@httpd] .htaccess + htpasswd NOT working


>>I've set the ownership to "chown root.www-data /var/www/strudel/.htpasswd"
and "chmod 640 /var/www/strudel/.htpasswd"<<

What user.group does apache run as?  If it doesn't run as the www-data
group, it won't be able to read the file.  Try chmod 644 (just to test it).

-Jacob


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


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