Re: [squid-users] squid redirect question

From: Marcus Kool <marcus.kool_at_urlfilterdb.com>
Date: Thu, 28 Jul 2011 13:43:43 -0300

Look at ufdbGuard, a free replacement for squidGuard, which includes
a mini HTTP server, ufdbhttpd, that is only used for the redirects of ufdbGuard.

ufdbhttpd has no config file, no problems with installation.

Marcus

Bruce Bauman wrote:
> I am running a web browser, squid, and squidguard all on a single
> machine. I am *NOT* running a local webserver. I want to do web
> filtering based on some blacklists configured into squidguard.
>
> My current configuration has squid configured as follows:
>
> redirect_program /usr/local/bin/squidGuard \
> -c /usr/local/etc/squid/squidGuard.conf
>
> and squidguard configured to redirect as follows:
>
> acl {
> default {
> pass !porn all
> redirect file://block.html
> }
> }
>
> This fails because squid tries to interpret the URL passed back by
> squidguard.
>
> What I really want is to just pass back the failure to the originating
> browser and deal with the blocked access there. How can I get squid to
> just pass back to the browser. Since it's our custom browser we can deal
> with generating the error there.
>
> Thanks.
>
> -- Bruce
>
>
>
>
Received on Thu Jul 28 2011 - 16:43:48 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 28 2011 - 12:00:03 MDT