Re: [SQU] deny_info URL ACL

From: Robert Collins <[email protected]>
Date: Sat, 9 Dec 2000 09:13:06 +1100

You can use a redirector to return a 301 or 302 client-side redirect. See the FAQ for an example perl based redirector. I ususally
use squidguard (htttp://www.squidguard.org) as it is very fast and flexable. It also comes with prebuilt lists of
porn/sport/adverts/etc)

Rob
----- Original Message -----
From: "Jiri Bohac" <bohaj9am@ss1000.ms.mff.cuni.cz>
To: <squid-users@ircache.net>
Sent: Saturday, December 09, 2000 4:28 AM
Subject: [SQU] deny_info URL ACL

> Is there a way to force the squid 1.x behaviour of deny_info - i.e specify
> a URL instead of a file in the ...squid/errors directory?
>
> I want to use it primarily for banner filtering (but others as well
> - imagine a huge dirty pig showing on-screen when user types in
> "www.porn_whatever.com" :-)) such as:
>
> acl banners url_regex "...banner_definition_regexp_file"
> acl porn url_regex "...porn_def_file"
> http_access deny porn
> http_access deny banners
>
> deny_info "http://...../emty.gif"
> deny_info "http://...../pig.gif" :-)
>
> Note that I DO NOT REQUIRE the target to be a URL, a locally stored GIF
> would do the same job for me....
>
> I like this simple 1.x method and do not really want to use a redirector,
> unless it is inevitable! (memory reasons - in fact i tried to configure
> sleezeball but did not succede, so let's call it memory reasons :-))
>
> The issue has been discussed many times, long ago, so If there have been
> any solutions since, please tell me!
>
> Thanx for any kind replies and sorry for posting again, but had no
> replies.
>
> Jiri
>
>
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
>
>

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Fri Dec 08 2000 - 15:07:20 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:53 MST