Re: [squid-users] reverse proxy filtering?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 19 Apr 2009 11:18:34 +1200

Jeff Sadowski wrote:
> I'm new to trying to use squid as a reverse proxy.
>
> I would like to filter out certain pages and if possible certain words.
> I installed perl so that I can use it to rebuild pages if that is possible?
>
> My squid.conf looks like so
> <==== start
> acl all src all
> http_port 80 accel defaultsite=outside.com
> cache_peer inside parent 80 0 no-query originserver name=myAccel
> acl our_sites dstdomain outside.com

aha, aha, ..

> http_access allow all

eeek!!

> cache_peer_access myAccell all
> <==== end
>
> how would I add it so that for example
>
> http://inside/protect.html
>
> is blocked?

http://wiki.squid-cache.org/SquidFaq/SquidAcl

> and is it possible to filter/replace certain words on the site
>
> like replace "Albuquerque" with "Duke City" for an example on all pages?

No. no. no. Welcome to copyright violation hell.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE14
   Current Beta Squid 3.1.0.7
Received on Sat Apr 18 2009 - 23:18:35 MDT

This archive was generated by hypermail 2.2.0 : Sun Apr 19 2009 - 12:00:02 MDT