Re: [squid-users] Banner insertion on Transparent Proxy

From: Robert Collins <robertc@dont-contact.us>
Date: 21 Nov 2002 07:04:06 +1100

On Thu, 2002-11-21 at 05:26, Henrik Nordstrom wrote:

> It should also be possible to extend the proxy authentication support in
> Squid to do something similar I think with only a few lines of code.

More than a few, but less than many. Things to do:
* Generalise the occurence of redirection in client_side_request.cc aka
client_side.cc
* Add a policy config parameter for how often to show the page.
* Record the last time shown in the user cache entries.
* Prevent user cache ejection if the policy config time has not been
reached.
* Include a link to the original URL in the redirected URL, for the web
server to put on the page somewhere.

Rob

Received on Thu Nov 21 2002 - 10:17:49 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:29 MST