httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Timmler <>
Subject [users@httpd] Cascading Location directives
Date Thu, 09 Feb 2006 12:24:51 GMT

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
    AuthType Basic
    AuthName "Tell me..."
    AuthUserFile /etc/apache2/.htpasswd
    AuthGroupFile /etc/apache2/.htgroups
    Require group admins
    Satisfy Any
  <Location ~ "^/public">
    Order deny,allow
    Allow from all
    Satisfy Any

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?


Norman Timmler

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