httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <>
Subject Re: trick to..
Date Tue, 20 Aug 1996 18:56:19 GMT
Alexei Kosut wrote:
>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.

Ahh, didn't think of that. I put it first thinking that it'd have
a better priority there :-|

Take another gold star from the pile if it works.

View raw message