[plug] Internet censorship

Cameron Patrick cameron at patrick.wattle.id.au
Sat Sep 20 20:13:04 WST 2003


On Sat, Sep 20, 2003 at 03:58:15PM +0400, Brad Campbell wrote:

| I'm running a squid proxy up here

Just a stab in the dark - have you looked into using a squid redirector?
It should be possible to write a short Perl script[1] to re-route URLs
matching certain regexes via Perth.  The tricky bit is that AFAIK it can
only change the URL, so you may have to set up your proxy so e.g.
http://perthserver.local/proxy/bytesex.org/bttv/ would Do The Right
Thing.

CP.

[1] Or better yet, use one that someone else has written e.g. jesred
which just needs to be fed the regexes that you want to redirect.

_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug


More information about the plug mailing list