[CentOS] Where to put .htpasswd

Thu May 28 00:36:19 UTC 2009
John R Pierce <pierce at hogranch.com>

Jason Todd Slack-Moehrle wrote:
> Hi All,
>
> Where is the proper place to put .htpasswd so I can password protect  
> directories in /var/www/html?
>
> /etc/httpd/run?
>   

probably not, as thats a world readable directory (its a symlink to 
/var/run )

I've generally stuck them in an app specific directory, if your website 
is all in /var/www, I'd probably stash them in a subdir of that.