This is a discussion on .htaccess and exceptions to LIMIT within the Apache Web Server forums, part of the Web Server and Related Forums category; I have a .htaccess file in my Document Root that password protects the entire directory tree underneath it. It looks ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
Sugapablo wrote:
> I have a .htaccess file in my Document Root that password protects the > entire directory tree underneath it. It looks like this: [...] > 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. May be try in /open/.htaccess: Satisfy Any -- Robert |
|
|||
|
On Wed, 28 Dec 2005 17:17:42 +0100, Robert Ionescu wrote:
> May be try in /open/.htaccess: > > Satisfy Any Yes! Gracias. -- Sugapablo http://www.sugapablo.net |