Take the 2-minute tour ×

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

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

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.

share|improve this answer
thanks that was i what i was looking for –  solomongaby Apr 30 '09 at 10:34
add comment

You could possibly do this if you have access to /etc/httpd.conf -- do you?

share|improve this answer
add comment

Your Answer


