httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brad Greenlee <>
Subject Re: [users@httpd] PCRE issue with Apache 2.0.54 (Debian)
Date Sun, 14 May 2006 04:19:31 GMT
Yes, I've tried this:

   <Location />
     AuthType Basic
     AuthName "Development Site"
     AuthUserFile /etc/apache2/auth/dev-passwd
     Require valid-user

   <Location /foo>
     Order allow,deny
     Allow from all

But that doesn't work...I get the auth request for /foo still. I've also 
tried tricks with SetEnvIf and Satisfy Any, but to no avail.

/foo isn't a physical directory, btw...this is a rails application, and 
foo actually maps to a controller.



Bill Jones wrote:
> On 5/13/06, Brad Greenlee <> wrote:
>> I'm trying to have everything on one site be protected with basic auth,
>> except for requests starting with /foo. This should work, but it doesn't:
>> <LocationMatch "^/(?!foo)">
>>    AuthType Basic
>>    AuthName "Development Site"
>>    AuthUserFile /etc/apache2/auth/dev-passwd
>>    Require valid-user
>> </LocationMatch>
> Have you tried over riding just the /foo directory with .htaccess?
> Order Allow,Deny
> Allow from All

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message