Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2008
    Thanked 0 Times in 0 Posts

    Do not password protect subfolders?

    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...

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    In a place far, far away...
    Thanked 1,043 Times in 1,019 Posts
    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.


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts