[wplug] .htaccess and directory exception

Russ Schneider russ at sugapablo.com
Tue Dec 27 22:08:18 EST 2005


I have a .htaccess file in my Document Root that password protects the 
entire directory tree underneath it.  It looks like this:

AuthUserFile /www/htdocs/.htpasswd
AuthType Basic
AuthName "Site Under Development"

<LIMIT GET POST>
require valid-user
</LIMIT>


Works just fine, but I'd like one of the directories underneath where this 
file is to not be covered by the file.

I.e. in /www/htdocs/open I'd like all files in that directory and that 
directory alone to be able to be viewed without authentication.

How do I do this?  Everything I read and try seems to give me 500 errors.


-- 
Russ Schneider (a.k.a. Sugapablo)
http://www.sugapablo.net                                                    


More information about the wplug mailing list