Reputation: 30035
I have a project that has .htaccess Authentication but i want to remove it for a certain assets folder.
i tried adding a htaccess in that folder with :
AuthType none
Satisfy Any
Allow from All
Order Allow, Deny
but it doesnt seem to work :( Any thought on this. Thank you so much
Edit The directory i am trying to unprotect is not a real directory, but a rewrite rule. I dont have access to httpd.conf
Upvotes: 0
Views: 1272
Reputation: 5230
Without seeing your full .htaccess I'm guessing, but what about something like this:
RewriteEngine On
RewriteRule ^assets/ - [E=allow-assets:1]
Allow from env=allow-assets
That could go in the .htaccess of the parent directory, not assets.
Upvotes: 2
Reputation: 11070
You could possibly do this if you have access to /etc/httpd.conf -- do you?
Upvotes: 0