Sorry, wrong reply address: On Tue, Dec 1, 2009 at 8:44 AM, Brian Mearns <mearns.b@xxxxxxxxx> wrote: > On Tue, Dec 1, 2009 at 3:02 AM, Ronaldo Zhou <ronaldo.zhou@xxxxxxxxx> wrote: >> Hi, >> >> I read more and found one ICAP project named GreasySpoon ( >> http://greasyspoon.sourceforge.net/index.html ). I'll try this and >> update here later. >> >> Thanks, >> >> On Sun, Nov 29, 2009 at 7:26 PM, lan messerschmidt >> <lan.messerschmidt@xxxxxxxxx> wrote: >>> On Sun, Nov 29, 2009 at 4:45 PM, Ronaldo Zhou <ronaldo.zhou@xxxxxxxxx> wrote: >>>> Hi everyone, >>>> >>>> I need you help with squid to insert some code to html body >>>> returned to clients, for analytic reasons. >>>> >>>> >>> >>> Squid is designed that NO change to original HTTP response body, >>> though you can insert some additional headers. >>> Also eCap is squid-3.1's new feature. >>> >> > > Privoxy might be another route. While squid is designed to be a > caching proxy and may have 3rd party modules or patches to make it > change the content, Privoxy is designed from the start to modify > content in certain ways. However, as with the other solutions > mentioned in this thread, this is meant primarily for removing target > content (typically images) more than straight out modification, and as > Amos very nicely illustrated, there is a lot of dirtiness involved in > content modification, especially if you're doing it transparently. > > -Brian -- Feel free to contact me using PGP Encryption: Key Id: 0x3AA70848 Available from: http://keys.gnupg.net