ticknubbs
July 30th, 2009, 05:45 PM
I have been looking all day on how to make an exception for a directory in htaccess with no luck thus far. I have a web directory with htaccess and pass set up however I need to allow all access to two of the directories in that folder without moving them out into another directory.
Here is what I have right now...
<FilesMatch "(location_identification|family_relation)\.php$">
Allow from all
Satisfy any
</FilesMatch>
AuthName "Secure Login"
AuthType Basic
AuthUserFile /home/myself/public_html/site/.htpasswd
Require valid-user
and I need to make an exception to a directory named 'allow' located within site. I have tired several things with no luck and am looking for a fresh idea. Anybody have any?
Here is what I have right now...
<FilesMatch "(location_identification|family_relation)\.php$">
Allow from all
Satisfy any
</FilesMatch>
AuthName "Secure Login"
AuthType Basic
AuthUserFile /home/myself/public_html/site/.htpasswd
Require valid-user
and I need to make an exception to a directory named 'allow' located within site. I have tired several things with no luck and am looking for a fresh idea. Anybody have any?