View Full Version : Do not password protect subfolders?

02-24-2008, 07:59 PM
Hi people, I an making a password protection to my admin folder /home/site/admin with the following code.

AuthUserFile /home/site/admin/.htpasswd
AuthType Basic
AuthName "Site Admin"
require valid-user

BUT i want to disable password protection for the images folder inside the admin folder /home/site/admin/images since the images in that folder are used by other public pages Is there a way to do it? thx...

02-24-2008, 08:21 PM
I don't know of a way to do this with htaccess. I think the only option you have is put your images in a public directly. Just curious why do you link to them if they are in the admin folder? Thats bad design.