Re: [squid-users] Start page for Squid

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 18 Jun 2007 22:20:04 +0200

mån 2007-06-18 klockan 20:45 +0700 skrev Joakim Lagerqvist:

> I am looking for a way of redirecting my users to a "start page" when
> they first start their browser through my transparent squid proxy.

The session helper can do this for you.. example included in the
documentation.

The session helper is a refined variant of the old example you had
found, with the basic idea being the same.

From the squid_session man page:

EXAMPLE
       Configuration example using the default automatic mode

              external_acl_type session ttl=300 negative_ttl=0 children=1 concurrency=200 %LOGIN /usr/local/squid/libexec/squid_session

              acl session external session

              http_access deny !session

              deny_info http://your.server/bannerpage?url=%s session

       Then set up http://your.server/bannerpage to display a session startup
       page and then redirect the user back to the requested URL given in the
       url query parameter.

Regards
Henrik

Received on Mon Jun 18 2007 - 14:20:12 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:04 MDT