Re: [squid-users] deny_url

From: Henrik Nordstrom <[email protected]>
Date: Thu, 07 Nov 2002 23:34:22 +0100

There is no deny_url directive in Squid.

In the current development versions deny_info accepts a URL if you like
instead of a error page name. In such case the user will be redirected
to the given URL. There is also special codes for encoding the requested
URL and some other information into the redirected URL.

This functionality is also available as a patch to Squid-2.5. This patch
can be found from http://devel.squid-cache.org/

Regards
Henrik Nordstr�m
MARA Systems AB, Sweden
Who implemented the above feature some time ago

"Bennett F. Dill" wrote:
>
> I hope this isn't OT for this list, but here we go...
>
> I am trying to use the deny_url in my cache. I have setup my cache
> server to block access to images from 'ad' servers using url regexing.
> That is working well, except the browsers sometimes wait a bit to finish
> loading b/c they are expecting the image to show up. Anyway, I've seen
> something about deny_url that looks like I could specify my own pic
> should the sites pic be blocked.
>
> The problem is that when I use
> deny_url http://my.site.dom/pic.gif blocking_acl
>
> squid pukes...
>
> I haven't had much luck tracking down info on the deny_url, it kinda
> looks like it might be beta still....
>
> Anyway, if anyone can shead some light on this for me I'd apprecieate it
> greatly.
>
> TIA,
> Ben
Received on Thu Nov 07 2002 - 15:38:09 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:13 MST