Search squid archive

Re: squid redirect question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux