[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

content of ibproxy.pac



 
    
content of ibproxy.pac
----------------------

[root@raider tmp]# wget http://www.unimacq.edu.au/cgi-bin/ibproxy.pac 

[root@raider tmp]# cat ibproxy.pac 
function FindProxyForURL(url, host)
{
        urllen = host.length;
        lchost = host.toLowerCase();
        if (! host.indexOf(".",0) ) 
                return "DIRECT";
        if (lchost.substring(urllen-14,urllen) == "unimacq.edu.au" )
                return "PROXY ibproxy.unimacq.edu.au:8000;  DIRECT";
        if (lchost.substring(urllen-8,urllen) == "mq.oz.au" )
                return "PROXY ibproxy.unimacq.edu.au:8000;  DIRECT";
        else
                return "DIRECT";
}


Google