Hello,

is doesn't quite matter where you put the password and group files. For
security reasons you just shouldn't put them into a folder that is
accessible through the web. Just make sure you reference those files
correctly in your .htaccess-files, e.g.:

>  AuthUserFile        /etc/apache2/htusers
>  AuthGroupFile       /etc/apache2/htgroups

Remember to configure Apache to consider your .htaccess files or better
configure those access restrictions in the apache configuration itself.


Kind regards

Dirk


On 28/5/09 02:12, Jason Todd Slack-Moehrle wrote:
> Hi All,
> 
> Where is the proper place to put .htpasswd on CentOS 5.3 so I can
> password protect
> directories in /var/www/html?
> 
> /etc/httpd/run?
> 
> -Jason
> 
> 
> ---------------------------------------------------------------------
> 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-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
> 


-- 
Dirk große Osterhues <d...@ke.tu-darmstadt.de>
* Hochschulstrasse 10, Room E322, D-64289 Darmstadt
* Tel: ++49 (6151) 16-6634, Fax: ++49 (6151) 16-5482
* PGP-Key-Fingerprint: E92F410DFF8DABA78B6804A75A426BA67F8FAC70

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to