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 <pieter@xxxxxxxxxxxxx>: > 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:shoktai@xxxxxxxxx] > Sent: 2005/11/23 14:18 > To: squid-users@xxxxxxxxxxxxxxx > Subject: autoconfig pac file > > 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. > "This e-mail is sent on the Terms and Conditions that can be accessed by Clicking on this link http://www.vodacom.net/legal/email.aspx " >