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


but 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

, , , ,

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Get Adobe Flash playerPlugin by wpburn.com wordpress themes


RSS Site FeedRSS Site Feed

© 1992-2011 DC2NET™, Inc. All Rights Reserved