View Single Post

  #1 (permalink)  
Old 12-28-2005
Sugapablo
 
Posts: n/a
Default .htaccess and exceptions to LIMIT

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.

--
Sugapablo
http://www.sugapablo.net