httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@organic.com>
Subject Re: WWW Form Bug Report: "Location/Status can't restrict or restricts all" on OTHER:QNX (fwd)
Date Tue, 14 May 1996 20:06:40 GMT
On Tue, 14 May 1996, Rob Hartill wrote:
> > Try instead switching allow and deny:
> > 
> > <LIMIT GET>
> > order allow,deny
> > deny from all
> > allow from .mydomain.domain
> > </LIMIT>
> > 
> > "order" describes the order in which deny and allow commands are 
> > evaluated, with the server evaluating them until it finds a reason to 
> > deny the request.  So, if it evaluates deny first, and finds a "deny from 
> > all", it decides not to send the file.
> > 
> > Let me know if this doesn't solve the problem...
> 
> isn't this incorrect?   sounds assbackwards (TM) to me.
> 
> you want to deny everyone then allow a subset, not allow a subset then
> deny everything.
> 
> It certainly goes against the documentation and simple logic.

Maybe my head's just on backwards, but logically, if you deny everyone 
first, who's left to allow through?  I.e. what's the result of

if (x > 0)
  return FORBIDDEN
elsif (x = 8)
  return OK

?

	Brian


--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com  |  We're hiring!  http://www.organic.com/Home/Info/Jobs/


Mime
View raw message