[squid-users] Splash page issues
Amos Jeffries
squid3 at treenet.co.nz
Sat Jan 31 01:26:37 UTC 2015
On 31/01/2015 2:00 p.m., Darren B. wrote:
> Hi
>
> I am trying to set up a router that is inline between the clients and
> the internet.
>
> Everything is working as far as proxy operations, however i am now
> trying to set up a splash page that new clients are shown when they
> first connect.
>
> The splash page is served off a copy of nginx running on the proxy server.
>
> local.<domainname>.com is set up in hosts and the dns the clients use to
> point to the correct IP
>
> I seem to be tangled up in ACL ordering. Whilst the redirect to the
> splash page works fine, the session db is not getting written to so the
> client never gets past the splash page.
You explicitly configured that to happen.
>
> external_acl_type splash_page concurrency=100 ttl=60 %SRC
> /usr/lib/squid3/ext_session_acl -a -T 10800 -b
> /mnt/data/squid/session/session.db
Helper in "active mode". Where explicit LOGIN action has to be requested
by the ACL test for any session to be created.
> acl existing_users external splash_page
> http_access deny !existing_users
> deny_info http://local.<domainname>.com?usr=%s existing_users
>
Being used for only simple/passive session existence lookup.
Please read the *text* on this page:
<http://wiki.squid-cache.org/action/edit/ConfigExamples/Portal/Splash>
>
> -----------------------------------------------------------
>
> my build of squid is
>
> Squid Cache: Version 3.3.8
Please also note how the captive portal example page has different
configuration settings for pre- and post- Squid-3.2.
Amos
More information about the squid-users
mailing list