Sunday, July 29, 2007

function FindProxyForURL(url,host)
{
if (shExpMatch(host,"*.com"))
return "PROXY proxy0:8080 ";
else
return "PROXY proxy1:8080 ";
}
// http://*.com domains are routed to proxy0. ex http://www.sharp-usa.com/