[squid-users] autoconfig pac file

From: Toto Carpaccio <shoktai@dont-contact.us>
Date: Wed, 23 Nov 2005 13:17:56 +0100

Hi,

I'm using squid installed on a debian server. I've installed Apache2
(checked the pac extension in mimes.conf too) also, and create a
directory in /var/www/ called proxy where i put a proxy.pac file
containing :

function FindProxyForURL(url, host)
{
        if (isInNet(host, "10.2.0.0", "255.255.0.0"))
                return "PROXY 10.1.1.13:3128";
        else
                return "DIRECT";
}

I want users of network 10.2.0.0/16 to use proxy and other to go diretcly.

I've tried to configure IExplorer so the browser reach for autoconfig
file located in http:10.1.1.13/proxy/proxy.pac

I can't make it work properly, all connections are sent directly to internet.

Can you please help ?

Thanks.
Received on Wed Nov 23 2005 - 05:17:58 MST

This archive was generated by hypermail pre-2.1.9 : Thu Dec 01 2005 - 12:00:10 MST