.htaccess and exceptions to LIMIT

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


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #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

  #2 (permalink)  
Old 12-28-2005
Robert Ionescu
 
Posts: n/a
Default Re: .htaccess and exceptions to LIMIT

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

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

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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:31 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0