Dear Henrik, First of all I would like to thank you for your prompt and positive response.
We are trying to learn user behavior using squid. That is we have used NCSA authorisation to authenticate various users to login via squid. So the logs generated have the user name specified as well as to which user has accessed which sites. What we are trying to achieve is when squid serves the requests of the users either through the cache or if the page is not cached then getting it from the main server. When the page is getting displayed we want to modify that page by adding some info like how many times has that page been accessed in general or say by that user itself. I hope I have not confused you. Just a simple example, If I try and access google.com web page and had accessed it before and squid had cached it. This time when I am accessing it I would get the google.com page but say a small section on right hand side shall tell me this is the second time I am accessing it. So I am looking forward to modify the webpage contents before serving the request. I had a look at the various files like httpBody.c httpreply.c etc. Also found that there is something called as MemBuf that stores something in HttpBody.c. But still couldn't succeed in getting what I was looking for. Thanks once again for you help Regards Sangeeta
