Re: Squid response modification

From: Ghislain Garcon <gigi_8439@dont-contact.us>
Date: Tue, 07 Mar 2006 14:25:38 +0100

> Balu a écrit :
>
> >Hello All,
> >
> >What you are saying make sense.
> >
> >i am more intrested in client side squid. That is
> >instead of using ICAP server to handle for REQMOD,
> We
> >can modify squid HTTP response to add value added
> >service like banner add..etc.
> >
> >

> Could you explain more?

>I understand the functionality of ICAP server, What I
>am thinking is rather then making squid as ICAP
>client, i am planning to modify the HTTP response in
>the squid itself before returning data to the
>client(browser), is that the right way do it ..?
>Please let me know your suggetions and pros and cons
>of modifying the http response in squid?

I don't really know the best way but you can do something like
DansGuardian ie act as a proxy.

If you want to modify http response start with http.c in function
httpReadReply(int fd, void *data).

If it is the right way? I let developpers answer.

Regards.

Ghislain
Received on Tue Mar 07 2006 - 06:25:48 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:06 MST