[squid-users] .pac file help needed.

From: Renato Kalugdan <renato@dont-contact.us>
Date: Fri, 19 Dec 2003 18:58:31 -0800 (PST)

Hi,

I've implemented a simple .pac file in a workstation. I've told IE to look
for the .pac file on the workstation as opposed to the webserver.

This setup works fine.

When I try telling IE to look for the .pac file using the URL of the web
server, IE just hangs.

here's my .pac file

function FindProxyForURL(url,host)
{
  if (isInNet(myIpAddress(), "192.168.1.0", "255.255.255.0"))
   return "PROXY 192.168.1.201:3128";
}

On the webserver, i've put AddType application/x-ns-proxy-autoconfig .pac
in the /etc/httpd.conf file.

I then use the url option in the IE settings for automatic configuration
script like so.

http://192.168.1.201/proxy.pac

the proxy.pac file is located in the /var/www/html directory

Am I missing something here?

Please provide guidance.

Thanks in advance.

Renato
Received on Fri Dec 19 2003 - 19:58:33 MST

This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:18 MST