Re: [squid-users] Need to set up a one-time redirect, per user, for a client...

From: Henrik Nordstrom <[email protected]>
Date: Wed, 22 Oct 2003 05:26:57 +0200 (CEST)

On Tue, 21 Oct 2003, Jordan Young wrote:

> I have a client that needs a hotspot system, and they need it to accept all
> first URL requests and send them to their web site. After the first request
> is made, then they want it to open up for outside sources. It is not a pay
> system, but they just want all customers to see their web site. I know
> there is some way to do this, whether it be with squid (preferred), or with
> netfilter. If anybody could please help me, that would be great.

Neither Squid or Netfilter have the technology for doing this builtin.

Adding technology to Squid for doing this is relatively simple. You will
need a redirector helper using a database keeping track of when the user
was last seen, and if the user was not active in the last say 60 minutes
then redirect him to the selected site (and record in the database that
the user is active, as is done for any other request).

Regards
Henrik
Received on Tue Oct 21 2003 - 21:27:09 MDT

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