httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <>
Subject Re: trick to..
Date Tue, 20 Aug 1996 18:53:18 GMT
On Tue, 20 Aug 1996, Rob Hartill wrote:

> How can I deny access to everything except for 1 URL.
> I have <Location /> being used to deny access to the entire
> site for runaway robots but can't then serve them a custom 403
> message to explain to humans at that site why they're banned.
> Is there a trick to do this?

Well, I'm not sure exactly how your "deny access" thing works, but
Location segments override each other. So you could do:

<Location />
deny from whatever

<Location /dont-deny>
deny from none

That should work.

-- Alexei Kosut <>            The Apache HTTP Server

View raw message