Re: [squid-users] autoconfig pac file

From: Toto Carpaccio <shoktai@dont-contact.us>
Date: Thu, 24 Nov 2005 09:12:55 +0100

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@vodacom.co.za>:
> 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@gmail.com]
> Sent: 2005/11/23 14:18
> To: squid-users@squid-cache.org
> Subject: [squid-users] 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 "
>
Received on Thu Nov 24 2005 - 01:12:57 MST

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