I have a dir which is protected against unauthorized users using mod
rewrite:
RewriteEngine on
RewriteCond %{REMOTE_USER} !^authorized_user_name_here$
RewriteRule .*
http://pathto404.html [R,L]
Now I need to allow ALL users access to one specific file in the directory
so I tried:
<FILES "myimage.jpg">
Order Allow,Deny
Allow from all
</FILES>
Now there seems to be some conflict with these two rules, and I cannot
figure out how to get them to work together. Hopefully I am on the right
track, and someone can help me with the correct directives to get this to
work!
So, Basically I need to allow all users access to the file "myimage.jpg",
without giving access to any other files in the directory with the exception
of admins, who can see everything.
Thanks much,
--Ridge