[CentOS] Password Protecting a Root Directory

Jim Perrin jperrin at gmail.com
Mon Feb 18 21:52:39 UTC 2008


On Feb 18, 2008 3:30 PM, John Hinton <webmaster at ew3d.com> wrote:
> I have apache running with virtual hosting.
>
> I have a customer who wants to password protect their /user/public_html
> directory using htaccess. I've done this many times on directories
> inside of that directory with positive results. However, I don't seem to
> be able to password protect the document root directory.
>
> Any ideas?

Do you have AllowOverrides on for the webroot?


-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell



More information about the CentOS mailing list