[squid-users] Unable to display splash page on inactive timeout

santosh santosh.pai at vigyanlabs.com
Wed Oct 15 07:31:20 UTC 2014


Hello Team,

I have set-up a squid proxy server and have implemented the URL blocking and
authentication through ldap successfully . Now i have a requirement that the
squid proxy has to timeout inactive authenticated sessions informing the
user to re-login. I followed up the below links as below 

http://wiki.squid-cache.org/ConfigExamples/Portal/Splash
http://thejimmahknows.com/squid-proxy-splash-page-2/

have tried different combinations and i'm not able to make it to work , i
Have posted the acl as below please let me know wherei'm going wrong 

# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#

external_acl_type splash_page ttl=60 concurrency=100 %SRC
/usr/lib/squid3/ext_session_acl -t 80 -b /usr/lib/squid3/session.db

acl existing_users external splash_page

auth_param basic program /usr/lib/squid3/basic_ldap_auth -b
"dc=example,dc=com" -f "(|(uid=%s)(mail=%s))" -h proxy.example.com

acl ldapauth proxy_auth REQUIRED
acl bad_url url_regex "/etc/squid3/badsites.conf"

http_access deny bad_url
http_access allow ldapauth
http_access deny !existing_users
deny_info 511:/var/www/html/info.php existing_users




--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Unable-to-display-splash-page-on-inactive-timeout-tp4667887.html
Sent from the Squid - Users mailing list archive at Nabble.com.


More information about the squid-users mailing list