[ILUG] proxy.pac

Stephen Shirley diamond at skynet.ie
Tue Jul 16 23:30:52 IST 2002


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."




More information about the ILUG mailing list