proxy.pac

From: Milda Mimiene <milda@dont-contact.us>
Date: Wed, 10 Nov 1999 18:26:15 +0200 (EET)

Hi, eveyone on this list

I have some problems with proxy.pac. It works well for Netscape 4.5 but
doesn't for IE5. In this case when proxy goes down connections become
automatically direct and it works only for Netscape browsers, with IE5
browsers users get an error message. Maybe I wrote something wrong. Here
is my proxy.pac

function FindProxyForURL(url, host)
{
  if (url.substring(0, 5) != "http:" || isPlainHostName(host) ||
      dnsDomainIs(host, ".ktu.lt") ||
      dnsDomainIs(host, ".litnet.lt"))
    return "DIRECT";
   else if (shExpMatch(host, "*.lt"))
       return "PROXY 193.219.61.9:8080; DIRECT";
   else
   return "PROXY proxy.ktu.lt:8080; DIRECT";
 
}

Maybe some of you could send some proxy.pas examples.

Any suggestions would be great appreciated.

With regards,

Milda Mimiene
User support group
LITNET NOC
Received on Wed Nov 10 1999 - 09:35:42 MST

This archive was generated by hypermail pre-2.1.9 : Wed Apr 09 2008 - 11:57:32 MDT