Forum Moderators: phranque
SetEnvIf Request_URI ^/local_URL-path_to_unprotected_file$ unprot
AuthType Basic
AuthName Protected Files
AuthUserFile /www/passwd/users
Require valid-user
Order allow,deny
Allow from unprot
Satisfy any
SetEnvIf Request_URI ^/local_URL-path_to_unprotected_file$ unprot
i want requests to the homepage to be allowed only, eg. [domain.com...]
I've tried this:
SetEnvIf Request_URI ^/$ unprot
without success. What am I doing wrong?
where as before, it was not imperative that the pages were hidden from the general public, it is now, and assuming no one will find the pages because there are no links to them is also wrong, as google bots in their activity have managed to find a link into the site and now has several pages indexed!
I have now moved all the files save for the holding page and given up, although i am still curious as to how this could have been resolved if anyone can think of anything.