Forum Moderators: phranque
(1) Easy enough for the first step. I password protected the entire site with:
AuthType Basic
AuthName "Client Only Web Site"
AuthUserFile "path"
require valid-user
(2) But, how do I explude the root index.php from being password protected? I know I could put the entire site in a folder but I don't want to remap all my URLS and server paths in my scrupts. I tried using somehting like this in the same root .htacces file:
<Files /index.php>
order allow,deny
allow from all
</Files>
I also tried this:
<Files /index.php>
order allow,deny
allow from all
</Files>
But that does not work. I've read [httpd.apache.org...] many times but can't make sense of it. Is anyone really familier with .htaccess containers that can help me out?
THX