Hi all,
I'm trying to get my squid server to redirect users to a PHP login page. I've followed the tutorial @
http://wiki.squid-cache.org/ConfigEx.../Portal/Splash
When trying to access an arbitrary page I receive a 302 redirect to my splash page. However, when trying to access the splash page, I again receive a 302 redirect to it (i.e. an infinite loop). Below is the result of such a pair of requests:
Code:nc -v my.server.com 3128 Connection to my.server.com 3128 port [tcp/ndl-aas] succeeded! GET http://www.google.com HTTP/1.0 HTTP/1.0 302 Moved Temporarily Server: squid/2.7.STABLE7 Date: Mon, 16 Jan 2012 15:52:44 GMT Content-Type: text/html Content-Length: 0 Location: http://my.server.com/splash.html X-Squid-Error: 403 Access Denied X-Cache: MISS from xxxx.com X-Cache-Lookup: NONE from xxxx.com:3128 Via: 1.0 xxxx.com:3128 (squid/2.7.STABLE7) Connection: closeAny assistance with this would be greatly appreciated!Code:nc -v my.server.com 3128 Connection to my.server.com 3128 port [tcp/ndl-aas] succeeded! GET http://my.server.com/splash.html HTTP/1.0 HTTP/1.0 302 Moved Temporarily Server: squid/2.7.STABLE7 Date: Mon, 16 Jan 2012 15:52:44 GMT Content-Type: text/html Content-Length: 0 Location: http://my.server.com/splash.html X-Squid-Error: 403 Access Denied X-Cache: MISS from xxxx.com X-Cache-Lookup: NONE from xxxx.com:3128 Via: 1.0 xxxx.com:3128 (squid/2.7.STABLE7) Connection: close
Also, I'd appreciate any advice on the next step of setting up authentication via a web form.
-n



Adv Reply


Bookmarks