Search squid archive

autoconfig pac file

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

 



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.


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

  Powered by Linux