RE: Adding header to pages

From: Delfim Machado <BipBip@dont-contact.us>
Date: Sat, 18 Dec 1999 16:43:48 -0000

Don't forget of the PAGES COPYRIGHT

chaging the pages is a crime !

-----Original Message-----
From: Henrique Pantarotto [mailto:scanner@cepa.com.br]
Sent: Sábado, 18 de Dezembro de 1999 4:58
To: squid-users@ircache.net
Subject: Adding header to pages

Hello Squid friends,

I need to add a javascript pop-up banner to all HTML pages that are
served by Squid.

I wonder if this can be easily accomplished by modifying Squid's
sources. I also wonder if anyone has already done that.

So, is it possible to add an header (5 lines or so) to the beginning of
a "content-type: text/html" page? I guess the "content-length" would
have to be modified too.

Can this be done with Squid?

I tried understanding Squid's sources (specially client-side.c), but my
brain went into a coma (me too stupid). ;-)

Has anyone done this before? Can someone help me (telling me what
functions I should start looking and etc)

Note that cineca mailing-list search is not working as I write this, so
please apologize if this question has already been discussed and
answered.

Thanks to all,

Henrique Pantarotto
Received on Sat Dec 18 1999 - 09:50:56 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:49:56 MST