[CentOS] Password Protecting a Root Directory

John Hinton

webmaster at ew3d.com
Mon Feb 18 20:30:33 UTC 2008


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?

John Hinton



More information about the CentOS mailing list