Search squid archive

Re: Display company Banner with SQUID

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> 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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux