[ILUG] proxy.pac

Robert Wall Robert.Wall at cs.tcd.ie
Tue Jul 16 12:55:07 IST 2002


> function FindProxyForURL(url, host) {
>         if isPlainHostName(host)
>                 return "DIRECT";
>
>         return "PROXY 172.17.1.170:8080";
> }
>

I think you need to use C like syntax for the if statement.  

if ( isPlainHostName( host ) ) 
	return "DIRECT";




More information about the ILUG mailing list