Can I create an “unprotected” directory within a “protected” directory?
So I have a directory that is access protected via .htaccess like so:
Code:
AuthType Basic
AuthName "downloadables"
AuthUserFile "/home2/myaccount/.htpasswds/public_html/music/downloadables/passwd"
require valid-userbut under my "/downloadables" directory there is also an "downloadables/images" directory
that I want UNPROTECTED so I
can render images on the page.
It’s a Drupal thing.
Anyway, is there a way with .htaccess to permit the subdirectory to all
users while keeping the parent directory password protected.
I’m guessing that I just need to add an additional .htaccess file
in the subdirectory, but what would the code be?
Any help?
View full post on Tycoon Talk
create, directory, protected, unprotected, within