[mrtg] Off topic question

Luu, Huy huy.luu at ibtco.com
Wed Sep 26 17:14:10 MEST 2001

Hi all,

I have a java script used to automate NT to select one proxy server and if
it fails, select another proxy server.  I can't get this script to work
correctly.  I sniff the traffic and found that the NT station never
establish a connection to the proxy server.  Here is the syntax:

function FindProxyForURL(url,host)
  if (isInNet(host, "", "")) 
    return "PROXY;
  else if (isInNet(host, "", "")) 
    return "PROXY;
    return "PROXY;
  if (host == "*.ibtco.com")
    return "DIRECT";
As you can already tell, I'm not at all familiar with javascipt.  I thankyou
all in advance for your help.

Huy Duc Luu
Investor's Bank & Trust
200 Clarendon Street

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.


-- Binary/unsupported file stripped by Listar --
-- Err : No filename to use for decode, file stripped.
-- Type: text/html

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the mrtg mailing list