proxy.pac Config issues

From: Michael Phillips <mike@dont-contact.us>
Date: Thu, 15 Jun 2000 15:53:11 -0500

Hi all:

I am a new user with squid and am attempting to get proxy pac's working with
squid. I have a proxy.pac file located in /usr/local/squid/http and
permissions are rwxr-xr-x. File is owned by user squid and group squid. The
contents of /usr/local/squid/http are accessible via web browser. I also
added the " AddType application/x-ns-proxy-autoconfig pac " directive to the
srm.conf file for the web server.

Contents of the file are:

function FindProxyForUrl(url, host) {
        // For servers in the local domain, go direct
        if (isInNet(host, "192.168.4.0", "255.255.255.0"))
                return "DIRECT";
        // Otherwise go through the cache server, with failover
        return "PROXY http://proxy.ieionline.com:3128; DIRECT";
}

If I go to http://proxy.ieionline.com/proxy.pac with a web browser, it
displays the above...setting the automatic configuration script under MS IE
5.0 to http://proxy.ieionline.com:3128 , the proxy is bypassed ....results
are the same under netscape as well. I have read the FAQ's and still cannot
get this to work.

Squid 2.3.STABLE2
Smartfilter 2.3.STABLE2
RedHat 6.1

TIA!

Mike

------------------------------------------------------------------------
Michael Phillips Senior UNIX Administrator
<mike.phillips@ieionline.com > Phone: 256-362-8562 Ext 143
International Enterprises, Inc. Fax: 256-362-0102
108 Allen St http://www.ieionline.com
Talladega, AL 35160 "Superior Avionics for the Military"

DISCLAIMER: Opionions expressed are not neccessarily those of my employer
Received on Thu Jun 15 2000 - 14:27:49 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:02 MST