Re: Where to put .htpassd on CentOS?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-unsubscribe@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 


-- 
Dirk große Osterhues <digo@xxxxxxxxxxxxxxxxxx>
* 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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux