[squid-users] Problem with proxy autoconfiguration scripts in apache 2

From: <bishal@dont-contact.us>
Date: 18 Jan 2006 12:58:04 -0000

Hi,


            I have installed squid 2.5.Stable12 in Freebsd 6 server. I
have used proxy autoconfiguration script "proxy.pac" in apache2.2 in
freebsd. When I typed the address http://mywebser/proxy.pac in the
address bar the file tries to download.
 Apache2 configuration file contains the line

AddType application/x-ns-proxy-autoconfig .pac


What wrong with the proxy autoconfiguration scripts?

 Following is the proxy.pac file script
function FindProxyForURL(url, host)
{
if (isInNet(host, "192.168.0.0", "255.255.255.0"))
        {return "PROXY proxy1:3128"; PROXY proxy2:3128";}
}
Received on Wed Jan 18 2006 - 05:59:08 MST

This archive was generated by hypermail pre-2.1.9 : Wed Feb 01 2006 - 12:00:01 MST