Search squid archive

splash page: redirection loop

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

 



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 redirection
https://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="">              +< 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="" 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

_______________________________________________
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