function FindProxyForURL( url, host )
{
if ( shExpMatch( host, "127.0.0.1" ) ||
shExpMatch( host, "localhost" ) ||
shExpMatch( host, "*.Mon_domaine.com" ) ||
)
return "DIRECT";
else if (shExpMatch( host, "*.extranet_par_proxy.com" ) ||
shExpMatch( host, "*.intranet2.com" )
)
return "PROXY 192.168.0.2:8080";
else
return "PROXY 192.168.0.5:8080";
}
|