[squid-users] splash page: redirection loop

julien412 at yahoo.fr julien412 at yahoo.fr
Sun Jun 23 17:04:10 UTC 2019


Hello,
I'm trying to use Squid with Splash page and followed https://wiki.squid-cache.org/ConfigExamples/Portal/Splash but I've got an issue with a redirection loop.Connecting to any web site redirects to splash page but splash page is redirected to itself in infinite loop until squid breaks it.
This happens on Centos7/Squid 3.5.20, Ubuntu bionic/3.5.27 or 4.4 source build.

Installed with ansible role with travis testing failing on redirectionhttps://travis-ci.org/juju4/ansible-squid/jobs/549377518
This part should not happen              +< HTTP/1.1 302 Found
              +< Server: squid/3.5.27
              +< Mime-Version: 1.0
              +< Date: Sun, 23 Jun 2019 15:04:22 GMT
              +< Content-Type: text/html;charset=utf-8
              +< Content-Length: 0
              +< Location: http://localhost/splash.php?url=http%3A%2F%2Flocalhost%2Fsplash.php%3Furl%3Dhttp%253A%252F%252Fwww.google.com%252F
              +< X-Squid-Error: 403 Access Denied
              +< X-Cache: MISS from default-splash-ubuntu-1804-1561301803
              +< X-Cache-Lookup: NONE from default-splash-ubuntu-1804-1561301803:3128
              +< Connection: keep-alive
Config extract      external_acl_type splash_page ttl=60 concurrency=100 %SRC /usr/lib/squid/ext_session_acl -t 7200 -b /var/lib/squid/session.db
       acl existing_users external splash_page
       deny_info http://localhost/splash.php?url=%s existing_users       
       http_access deny !existing_users
Any advices?
Using splash page standalone works as expected as well as manual call to ext_session_acl in cli.

Thanks!
Julien

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20190623/146d4536/attachment.html>


More information about the squid-users mailing list