Re: [squid-users] redirecting unauthenticated users

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 29 Apr 2009 21:05:55 +1200

Philippe Boeij wrote:
> Hi Amos,
>
> Some additional info.
>
> I tried:
>
> acl testdomain dstdomain .google.be
> acl freesites dstdomain .flamboree.local
> acl freesites dstdomain .flamboree.be
>
> acl noAuth src all
> acl AuthUsers proxy_auth REQUIRED
>
> http_access deny testdomain
> deny_info http://login.flamboree.local/?url=%s testdomain
> http_access allow freesites
> http_access allow AuthUsers
> deny_info http://login.flamboree.local/?url=%U noAuth
> http_access deny !AuthUsers noAuth
> http_access deny all
>
> The deny_info with external url for the testdomain works fine.
> Unfortunately unauthenticated users get a user/pass popup and with a cancel,
> the default (or custom) error page.

Hmm, try adding noAuth at the end of both lines with AuthUsers.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE14
   Current Beta Squid 3.1.0.7
Received on Wed Apr 29 2009 - 09:06:08 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 29 2009 - 12:00:03 MDT