Re: [squid-users] Display company Banner with SQUID

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 16 Mar 2009 11:43:52 +1200 (NZST)

>
> Hello!
>
> We manage an open WiFi access point at a Hotel.
>
> Is it possible somehow to show the Hotel's Banner on every visited page?
> We
> are using SQUID for other puropses, so it would be nice to solve this with
> it too.
>
> Thank you!

It's possible to do with ICAP/eCAP now in Squid-3.

BUT, before you start off that track take a good think about what web
pages actually are these days and what exactly you are trying to alter.

Most 'pages' as viewed by people are in fact a collection of objects, only
a few of which are images. The rest are all various types of 'page' on
their own. Be it frames, object includes, advertising imports, java-loaded
pages, etc, ect.

You need to be very, very sure your banner is not going to wipe out any of
that before you start it. You will seriously detract customers. It's also
very, very hard to detect sub-includes reliably, particularly with the XML
dynamic-includes.

You are much better off doing some form of session splash page they can
click through on their first visit, or at regular intervals. Squid
provides the session external acl helper for a basic X-minute repeating
splash page.
you can easily write your own to use other criteria.

Amos
Received on Sun Mar 15 2009 - 23:43:56 MDT

This archive was generated by hypermail 2.2.0 : Mon Mar 16 2009 - 12:00:02 MDT