You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1996/05/13 02:17:40 UTC
Re: WWW Form Bug Report: "Location/Status can't restrict or restricts all" on OTHER:QNX (fwd)
not acked
Date: Sun, 12 May 1996 17:09:56 -0700 (PDT)
From: "S. Kharbanda" <an...@netcom.com>
X-Sender: anam@netcom21
To: Rob Hartill <ro...@imdb.com>
Subject: Re: WWW Form Bug Report: "Location/Status can't restrict or restricts all" on OTHER:QNX
In-Reply-To: <199605122126.PAA03285>
Message-ID: <Pi...@netcom21>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Sun, 12 May 1996, Rob Hartill wrote:
>
> >If we start with order deny,allow
> >deny all
> ^
> from
> ?
>
>
Oops, that was a mistake in the posting.
The entry in the access.conf looks like this:
<Location /status>
SetHandler server-status
<LIMIT GET>
order deny,allow
deny from all
allow from .mydomain.domain
</LIMIT>
</LOCATION>
When I try to access status I get Error 403. The error log has
Client denied access by Server configuration.
I can get the server to allow my access if I take the deny from all out.
I tried the same the Location directive with a plain HTML URL and had the
same result.
?
Thanks.
----- End of forwarded message from S. Kharbanda -----
--
Rob Hartill (robh@imdb.com)
The Internet Movie Database (IMDb) http://www.imdb.com/
...more movie info than you can poke a stick at.
Re: WWW Form Bug Report: "Location/Status can't restrict or restricts all" on OTHER:QNX (fwd)
Posted by Brian Behlendorf <br...@organic.com>.
> On Sun, 12 May 1996, Rob Hartill wrote:
>
> >
> > >If we start with order deny,allow
> > >deny all
> > ^
> > from
> > ?
> >
> >
>
> Oops, that was a mistake in the posting.
> The entry in the access.conf looks like this:
> <Location /status>
> SetHandler server-status
>
> <LIMIT GET>
> order deny,allow
> deny from all
> allow from .mydomain.domain
> </LIMIT>
> </LOCATION>
>
> When I try to access status I get Error 403. The error log has
> Client denied access by Server configuration.
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/