Search squid archive

Re: Splash page issues

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

 



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
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





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

  Powered by Linux