Re: [squid-users] autoconfig pac file

2005-11-24 Thread Toto Carpaccio
You rule Ben :) 2005/11/24, Ben Tanner <[EMAIL PROTECTED]>: > Hi there Toto, > > I think you want to do something like this: > > function FindProxyForURL(url, host) > { > if (isPlainHostName(host) || >isInNet(myIpAddress(), "10.2.0.0", "255.255.0.0")) >

RE: [squid-users] autoconfig pac file

2005-11-24 Thread Ben Tanner
Hi there Toto, I think you want to do something like this: function FindProxyForURL(url, host) { if (isPlainHostName(host) || isInNet(myIpAddress(), "10.2.0.0", "255.255.0.0")) return "PROXY 10.1.1.13:3128"; else return "

Re: [squid-users] autoconfig pac file

2005-11-24 Thread Toto Carpaccio
Hi Guys, I've tried to change the script with fonction myIpAddress(), still remains the same. I can download the proxy.pac using wget. Any ideas ? 2005/11/24, Pieter De Wit <[EMAIL PROTECTED]>: > Hello Toto, > > Using a "normal" browser, try and download the file - something like: > > wget htt

RE: [squid-users] autoconfig pac file

2005-11-23 Thread Pieter De Wit
Hello Toto, Using a "normal" browser, try and download the file - something like: wget http://10.1.1.13/proxy/proxy.pac I think the problem lies with apache2 rather than squid or the file. Cheers, Pieter -Original Message- From: Toto Carpaccio [mailto:[EMAIL PROTECTED] Sent: 2005/11/