[CentOS] Where to put .htpasswd
John R Pierce
pierce at hogranch.com
Thu May 28 00:36:19 UTC 2009
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.
More information about the CentOS
mailing list