Search squid archive

Re: splash page + ubuntu 14.04 + squid 3.3.8

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

 



Thanks for the answer Amos...

2016-04-14 11:14 GMT+03:00 Amos Jeffries [via Squid Web Proxy Cache] <
ml-node+s1019090n4677079h32@xxxxxxxxxxxxx>:

> On 14/04/2016 5:03 p.m., rozi wrote:
>
> > Hi
> >
> > trying to set a splash page that popup once a day for the clients here
> is my
> > conf:
> >
> > external_acl_type splash_page concurrency=100 ttl=10 %SRC
> > /usr/lib/squid3/ext_session_acl -a -T 60 -b /home/e987654654/sessions.db
> > acl existing_users external splash_page
> > http_access deny !existing_users
> > deny_info 511:splash.html Mynetwork
> > deny_info 511:splash.html existing_users
> > http_access allow Mynetwork
> >
> >
> > cant get it to work , in this conf example after 60 sec i get conecction
> > refuse for 10 sec and the splash page dont popup during the 10 sec
> >
> > Anyone can help me ?
>
> You have two problems here:
>
> 1a) The -a parameter enables active mode sessions. Which means the
> 'existing_users' ACL (or another ACL matching an 'accept button' URL)
> has to pass "LOGIN" to the helper for sessions to exist.
>
> 1b) The ACL 'MyNetwork' is not used to deny anything, so the deny_info
> has nothing to do.
>
>
> 2) you do not seem to have any logic to identify when a particular
> request will be user-visible.
>  This is kind of important since modern browsers and OS perform a huge
> amount of automated requests in the background. Or even things with XHR
> scripts during user browsing.
> None of which the user will ever see in 'page' format, but which can
> screw up the system or web service behaviour of the recipient software.
> That 511 is the right way to do this, but is a fairly new feature in
> HTTP so a lot of software still dont handle it well.
>
> HTH
> Amos
>
> _______________________________________________
> squid-users mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4677079&i=0>
> http://lists.squid-cache.org/listinfo/squid-users
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://squid-web-proxy-cache.1019090.n4.nabble.com/splash-page-ubuntu-14-04-squid-3-3-8-tp4677076p4677079.html
> To unsubscribe from splash page + ubuntu 14.04 + squid 3.3.8, click here
> <http://squid-web-proxy-cache.1019090.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4677076&code=dGFscm96MEBnbWFpbC5jb218NDY3NzA3NnwxOTAwNDc5MTI5>
> .
> NAML
> <http://squid-web-proxy-cache.1019090.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/splash-page-ubuntu-14-04-squid-3-3-8-tp4677076p4677085.html
Sent from the Squid - Users mailing list archive at Nabble.com.
_______________________________________________
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