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 Thu, 16 May 1996 03:31:02 GMT

Okay, so we've narrowed it down to a possible problem with <Limit> not 
working within <Location> the way it should work within <Directory>?  If 
that's the case we'll give it a look...

	Brian

On Tue, 14 May 1996, S. Kharbanda wrote:
> On Mon, 13 May 1996, Brian Behlendorf 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...
> > 
> > 	Brian
> > 
> > --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
> > brian@organic.com  |  We're hiring!  http://www.organic.com/Home/Info/Jobs/
> > 
> 
> No luck with that either. I also tried switching the the deny and allow lines
> so that it looked like
> 
> order allow,deny
> allow from .mydomain.domain
> deny from all
> 
> and the got the same private area (403) error.
> 
> The directory directive works. So if I have 
> 
> <Directory xxx>
> <LIMIT GET>
> order deny,allow
> deny from all
> allow from .mydomain.domain
> </LIMIT>
> </DIRECTORY>
> 
> i have access to the directory, but if i try from any other domain I get 
> a 403 error.
> 
> Go figure!
> 
> Thanks
> 

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


Mime
View raw message