Search squid archive

Problem with proxy autoconfiguration scripts in apache 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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";}
}


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux