httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Timmler <li...@inlet-media.de>
Subject Re: [users@httpd] Cascading Location directives
Date Thu, 09 Feb 2006 19:01:03 GMT
Am Donnerstag, den 09.02.2006, 09:16 -0500 schrieb Joshua Slive:
> On 2/9/06, Norman Timmler <lists@inlet-media.de> wrote:
> > Hello,
> >
> > i cannot get a solution. One more try to get help from you.
> >
> > What i want is authenticate everybody who is accessing my website, but
> > no authentication if URL starts with /public (by the way, the URLs are completely
virtual and have no physical analogy):
> >
> >   <Location ~ "^/">
> >     Order deny,allow
> >     Deny from all
> >     Allow from .myhost.com
> >     AuthType Basic
> >     AuthName "Tell me..."
> >     AuthUserFile /etc/apache2/.htpasswd
> >     AuthGroupFile /etc/apache2/.htgroups
> >     Require group admins
> >     Satisfy Any
> >   </Location>
> >   <Location ~ "^/public">
> >     Order deny,allow
> >     Allow from all
> >     Satisfy Any
> >   </Location>
> >
> > I've tried a lot of different combinations, but this one looks like the
> > clearest to me. But it is not working at all :(
> 
> What version are you using?  Satsify behavior has changed slightly
> over the latest versions.

Apache/2.0.52 Ubuntu (Breezy Badger)

> Have you tried keeping the "Satsify all/Allow from all" in the top
> section and only putting Satisfy any in the bottom section?

Tried, but with no success.

Somebody told me today, that Satisfy only works in Directory containers,
but i cannot find it mentioned explicitly anywhere.


-- 
Norman Timmler

http://blog.inlet-media.de


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message