Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Docs

Fw: MatchAll description

 

 

Apache docs RSS feed   Index | Next | Previous | View Threaded


takashi at lans-tv

Nov 24, 2008, 7:07 AM

Post #1 of 1 (786 views)
Permalink
Fw: MatchAll description

I sent the mail to a wrong address.
I send it again to docs@


Begin forwarded message:

Date: Sat, 15 Nov 2008 11:09:25 +0900
From: Takashi Sato <takashi [at] lans-tv>
To: doc [at] httpd
Cc: dev [at] httpd
Subject: MatchAll description


http://httpd.apache.org/docs/trunk/mod/mod_authz_core.html#matchall
"If none of the directives contained within the <MatchAll> directive fails,
and at least one succeeds, then the <MatchAll> directive succeeds. "

According to this, following config would grant an access from 127.0.0.1
with no username/password.

<Location /server-info>
SetHandler server-info

AuthType Digest
AuthName "private area"
AuthUserFile "/var/www/password"

Match valid-user
Match ip 127.0.0.0/8
</Location>

But actually 127.0.0.1 needs to be "valid-user".
Considering difference between MatchAll and MatchAny,
this is correct behavior.
The How to says different thing from mod_authz_core doc:

http://httpd.apache.org/docs/trunk/howto/auth.html#beyond
"To authorize the request, none of the negated directives can match
their parameters, while all of the positive directives must match their
parameters (or else return a neutral result)."

mod_authz_core doc should be fixed ?

I'm not sure which is better for this mail, docs@ or dev@.


Regards,
Takashi

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe [at] httpd
For additional commands, e-mail: docs-help [at] httpd

Apache docs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.