Re: [squid-users] 2 squid on the same server

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 02 May 2011 01:23:43 +1200

On 01/05/11 20:38, J. Webster wrote:
>
>>> (logIn only challenges and fetches auth if it is tested, it is only
>>> tested when the IP is in 'other_subnet').
>
> But I need a username/password box to be sent to the user by default unless the IP address = 212.234.34.43
> The above comment sounds like it will only send a username/password request when the IP address = 212.234.34.43

So invert the ACL test results ('!' before the ACL name).

Maybe you should spend some time reading the FAQ on how Squid works and
the basics of configuration before going much further.
  http://wiki.squid-cache.org/SquidFaq/OrderIsImportant
  http://wiki.squid-cache.org/SquidFaq/SquidAcl#Common_Mistakes
  http://wiki.squid-cache.org/Features/Authentication

If you prefer reading a book there is a beginners guide available
(https://www.packtpub.com/squid-proxy-server-31-beginners-guide/book).
Feature details are about squid-3.1 and later, but the basics hold true
for older Squid.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.12
   Beta testers wanted for 3.2.0.7 and 3.1.12.1
Received on Sun May 01 2011 - 13:24:11 MDT

This archive was generated by hypermail 2.2.0 : Sun May 01 2011 - 12:00:05 MDT