[squid-users] proxy.pac

From: Ilker Gokhan <IlkerG@dont-contact.us>
Date: Fri, 23 Mar 2001 20:49:48 +0200

Hi,
I ve tried to set up auto config script file but had some problem. I ve made
that:
1- Apache configuration (/etc/mime.types) has been made. (added
application/x-ns-proxy-autoconfig pac)
2- Created proxy.pac file like this:
function FindProxyForURL(url, host) {
      if (isInNet(host, "10.0.0.0", "255.0.0.0")) {
                return "PROXY 10.0.1.1:3128";
        }
        else {
                return "DIRECT";
        }
}
3- Netscape (version 4.67) configuration has been made properly like this:
http://10.0.1.2:81/proxy.pac

When i looked apache's log, i see like this message:
GET /proxy.pac 200(>http ok) (300>size)

Thanks for your help..
Ilker G.

Bu e-postada bulunan tüm fikir ve görüşler ve ekindeki dosyalar sadece adres
sahib(ler)ine ait olup, Sümerbank A.Ş hiç bir şekilde sorumlu tutulamaz.
The information contained in this E-Mail and any files transmitted with it
are intended solely for the use of the individual or entity to whom they are
addressed and do not reflect those of Sumerbank A.S.
Received on Fri Mar 23 2001 - 11:47:46 MST

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