On Tue, Jul 16, 2002 at 11:01:11PM +0100, Nick Murtagh wrote:
> > On Tue, 2002-07-16 at 13:53, Robert Wall wrote:
> > > I think you need to use C like syntax for the if statement.
> > >
> > > if ( isPlainHostName( host ) )
> > > return "DIRECT";
>> "C like syntax", also known as Javascript :)
Well whaddya know; from
http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html:
"The proxy autoconfig file is written in JavaScript..."
Steve
P.s. the title of that document is "Navigator Proxy Auto-Config File
Format", and it is the authorative source on the proxy.pac syntax.
--
"Oh look, it's the Pigeon of Love."
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!