[squid-users] Portal Splash Pages example on squid 3.3.13

Amos Jeffries squid3 at treenet.co.nz
Thu Feb 12 13:10:47 UTC 2015


On 13/02/2015 1:21 a.m., amitinfo2k wrote:
> Thanks I changed the config now the service is up no errors in the logs but,
> I don't see spash screen 
> any time. Following the configuration i did with default squid config 
> ----------------------------------------------------------------------------------------------------
> # Set up the session helper in active mode. Mind the wrap - this is one
> line:
> external_acl_type session ipv4 concurrency=100 ttl=3 %SRC
> /usr/lib64/squid/ext_session_acl -a -T 60 -b /var/lib/squid/session/
> 
> # Pass the LOGIN command to the session helper with this ACL
> acl session_login external session LOGIN
> 
> 
> # Normal session ACL as per simple example
> acl session_is_active external session
> 
> # ACL to match URL
> acl clicked_login_url url_regex -i ^http://example.net/$
> 
> # First check for the login URL. If present, login session
> http_access allow clicked_login_url session_login
> 
> # If we get here, URL not present, so renew session or deny request.
> http_access deny !session_is_active
> 
> # Deny page to display
> deny_info 511:/etc/squid/splash.html session_is_active
> ----------------------------------------------------------------------------------------------------
> 
> I haven't enabled authentication. I tried testing from local m/c by
> configuring the proxy in the browser and also tried from remote m/c. I am
> able to browse the internet via proxy. But, I am not getting the splash
> screen.


Okay, so how are you testing this? and what does the splash.html contain
exactly?


Amos


More information about the squid-users mailing list