[squid-users] Too many logon when auto redirect script

From: Niti Lohwithee <mr.niti_at_gmail.com>
Date: Wed, 26 May 2010 11:38:23 +0700

Hi All,

I have a Redhat ES 5.3 with squid verion 3.1.1. I also use the NCSA
authentication to control the user to access to the internet.
This box has been enabled a simple auto script for redirect namely
cace.pac on apache as the following:

 function FindProxyForURL(url, host) {
     if (dnsDomainIs( host,"xxxxxx.com"))
                return "DIRECT";
     if (url.substring(0, 5) == "http:" ||
                            url.substring(0, 6) == "https:"||
                            url.substring(0, 4) == "ftp:")
      return "PROXY proxy.xxxx.com; DIRECT";
 }

When the user set directly to proxy.xxx.com at browser, squid asked
for the user/password for only one timm of new session. However, if
the user set at browser and point to auto redirect script, the brower
aske to many pop up for entering user name and password for new
session. For example, the squid ask to enter the password for
google.com as 2 time, Another website is 3-4 time.

Any help would be appreciated.

Regards and Thanks
Niti : )

-- 
##########################
Mr niti lowhithee
email Mr.niti_at_gmail.com
##########################
Received on Wed May 26 2010 - 04:38:31 MDT

This archive was generated by hypermail 2.2.0 : Wed May 26 2010 - 12:00:07 MDT