<html><head></head><body><div class="ydpad052f03yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div>Hello,</div><div><br></div><div>I'm trying to use Squid with Splash page and followed <a href="https://wiki.squid-cache.org/ConfigExamples/Portal/Splash" rel="nofollow" target="_blank">https://wiki.squid-cache.org/ConfigExamples/Portal/Splash</a> but I've got an issue with a redirection loop.</div><div>Connecting to any web site redirects to splash page but splash page is redirected to itself in infinite loop until squid breaks it.</div><div><br></div><div>This happens on Centos7/Squid 3.5.20, Ubuntu bionic/3.5.27 or 4.4 source build.<br></div><div><br></div><div>Installed with ansible role with travis testing failing on redirection</div><div><a href="https://travis-ci.org/juju4/ansible-squid/jobs/549377518" rel="nofollow" target="_blank">https://travis-ci.org/juju4/ansible-squid/jobs/549377518</a></div><div><br></div><div>This part should not happen</div><div><div> +< HTTP/1.1 302 Found<br> +< Server: squid/3.5.27<br> +< Mime-Version: 1.0<br> +< Date: Sun, 23 Jun 2019 15:04:22 GMT<br> +< Content-Type: text/html;charset=utf-8<br> +< Content-Length: 0<br> +< Location: http://localhost/splash.php?url=http%3A%2F%2Flocalhost%2Fsplash.php%3Furl%3Dhttp%253A%252F%252Fwww.google.com%252F<br> +< X-Squid-Error: 403 Access Denied<br> +< X-Cache: MISS from default-splash-ubuntu-1804-1561301803<br> +< X-Cache-Lookup: NONE from default-splash-ubuntu-1804-1561301803:3128<br> +< Connection: keep-alive</div><div><br></div><div>Config extract</div><div><div> external_acl_type splash_page ttl=60 concurrency=100 %SRC /usr/lib/squid/ext_session_acl -t 7200 -b /var/lib/squid/session.db<br> acl existing_users external splash_page<br> deny_info http://localhost/splash.php?url=%s existing_users <br> http_access deny !existing_users</div><br></div><div>Any advices?</div><div><br></div><div>Using splash page standalone works as expected as well as manual call to ext_session_acl in cli.<br></div><div><br></div><div>Thanks!</div><div><br></div><div>Julien<br></div></div><div><br></div></div></body></html>