Am Donnerstag, den 09.02.2006, 09:22 -0700 schrieb David Salisbury:
> You don't say how it fails, but I would assume ( perhaps incorrectly ) that 
> Location
> directives are like Aliases, Apache will take the first one that matches.  So 
> you 
> might try switching the order of the directives.

Sorry, it asks for authentication if trying to access a URL that starts
with /public.

What i thought was, that the last directive is the one with the highest
priority, so that the last statement wins the game.

I tried switching it, with no success.

> that'll be $.02  :)
> 
> -ds
> 
> ----- Original Message ----- 
> From: "Norman Timmler" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Thursday, February 09, 2006 5:24 AM
> Subject: [EMAIL PROTECTED] Cascading Location directives
> 
> 
> > 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 :(
> > 
> > Any suggestions?
> > 
> > Thanks,
> > Norman
> > 
> > -- 
> > 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: [EMAIL PROTECTED]
> >   "   from the digest: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> >
> 
> 
> ---------------------------------------------------------------------
> 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: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
-- 
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to