Dear Sarfraz, 
appreciate your immediate reply 

Heres attached is my pac file 
i am accessing the 10.101.101.10 server 

regards 

simon 
---------------- 






From: "***some text missing***" <shoz...@yahoo.com> 
To: "simon" <si...@baladia.gov.kw>, "squid-users" <squid-us...@squid-cache.org> 
Sent: Monday, January 12, 2015 1:18:06 PM 
Subject: {Disarmed} Re: [squid-users] site cannot be accessed 


Share your PAC file please. 

Regards, 
Sarfraz 


From: Simon Dcunha <si...@baladia.gov.kw> 
To: squid-users <squid-us...@squid-cache.org> 
Sent: Monday, January 12, 2015 11:41 AM 
Subject: [squid-users] site cannot be accessed 


Dear All, 

I have squid-3.1.10-22.el6_5.x86_64 running on centos 6.5 64 bit for quite 
sometime and working fine 
just a couple of days back some users reported an issue 

i have a intranet site which just stopped working . 
if I uncheck the proxy option in the browser the site works fine 
the above users also use internet and is working fine 

I am using the pac file to bypass local sites and the local intranet websites 
are alredy added in the pac file 

also i am quite sure the above intranet website were working before 

the squid log shows 
------------ 
1421053747.139 70984 172.16.6.21 TCP_MISS/000 0 GET MailScanner warning: 
numerical links are often malicious: http://10.101.101.10/ - 
DIRECT/10.101.101.10 - 
1421053779.524 32021 172.16.6.21 TCP_MISS/000 0 GET MailScanner warning: 
numerical links are often malicious: http://10.101.101.10/ - 
DIRECT/10.101.101.10 - 
---------- 

appreciate your advice and concern 

regards 

simon 

-- 
--------- 
Network Administrator 
Kuwait Municipality!!! 

-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 

_______________________________________________ 
squid-users mailing list 
squid-users@lists.squid-cache.org 
http://lists.squid-cache.org/listinfo/squid-users 



-- 
This message has been scanned for viruses and 
dangerous content by MailScanner , and is 
believed to be clean. 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

function FindProxyForURL(url, host) {
      // our local URLs from the domains below example.com don't need a proxy:
      //if (shExpMatch(url,"*.example.com/*"))                  {return 
"DIRECT";}
      //if (shExpMatch(url, "*.example.com:*/*"))               {return 
"DIRECT";}
//
        if (shExpMatch(url, "*.baladia.gov.kw*"))       { return "DIRECT"; }
        if (shExpMatch(url, "http://server-1*";))       { return "DIRECT"; }
        if (shExpMatch(url, "http://km_online*";))       { return "DIRECT"; }
        if (shExpMatch(url, "*.kmun.gov.kw*"))          { return "DIRECT"; }
        if (shExpMatch(url, "http://is9400*";))          { return "DIRECT"; }
        if (shExpMatch(url, "ftp://91.198.134.60*";))    { return "DIRECT"; }
        if (shExpMatch(url, "ftp://172.16.110.253*";))    { return "DIRECT"; }
        if (shExpMatch(url, "http://kmmap*";))           { return "DIRECT"; }
        if (shExpMatch(url, "*.csc.net.*"))          { return "DIRECT"; }
        if (shExpMatch(url, "http://172.16.2.199*";))     { return "DIRECT"; }
        if (shExpMatch(url, "http://datacenter*";))     { return "DIRECT"; }
        if (shExpMatch(url, "http://172.16.2.150*";))     { return "DIRECT"; }
        if (shExpMatch(url, "http://172.16.2.101";))     { return "DIRECT"; }
        if (shExpMatch(url, "http://erp.mof.gov.*";))    { return "DIRECT"; }
        if (shExpMatch(url, "http://10.114.172.18*";))   { return "DIRECT"; }
        if (shExpMatch(url, "http://172.16.2*";))  { return "DIRECT"; }
        if (shExpMatch(url, "http://172.16.2.105*";))    { return "DIRECT"; }
        if (shExpMatch(url, "http://172.16.2.175*";))     { return "DIRECT"; }
        if (shExpMatch(url, "http://172.16.2.176*";))     { return "DIRECT"; }
        if (shExpMatch(url, "http://10.114.101.101*";))     { return "DIRECT"; }
        if (shExpMatch(url, "http://10.6.1.37*";))     { return "DIRECT"; }
        if (shExpMatch(url, "http://172.16.2.121";))           { return 
"DIRECT"; }
        if (shExpMatch(url, "http://10.101.101.10";))     { return "DIRECT"; }


else
        return "PROXY 172.16.110.253:80";
}
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to