Ethan Whitt wrote:
Squid Gurus,
I am not sure if Squid is able to do this, but I thought this would be
the right place to ask. Here is my setup
Clients: Windows and Mac PC's with proxy setting to 3128
Squid Box: v2.6, not in forwarding path between users and Internet
Is there a way I can have Squid run a Perl script everytime a .JPG is
requested before/after checking the cache? I would like to add some
logic to manipulate the image if it matches a certain criteria within
the Perl script. I have seen ways of doing this with IPtables when the
Squid box is in the forwarding path. Is this possible otherwise?
Thanks!
Ethan
Short answer, yes.
Long answer (and a potentially amusing read),
http://www.ex-parrot.com/~pete/upside-down-ternet.html
Chris