// $Id: proxy.pac,v 1.10 2008/02/17 23:28:23 kal Exp $ // // proxy.pac // automatic proxy configuration for netscape browsers in // RMIT Department of Computer Science // function FindProxyForURL(url, host) { // local addresses don't go through cache if (isInNet(host, "127.0.0.0", "255.0.0.0") || isInNet(host, "131.170.0.0", "255.255.0.0") || isInNet(host, "144.205.0.0", "255.255.0.0")) return "DIRECT"; // Wireless Subnets if (isInNet(myIpAddress(),"172.17.0.0","255.255.0.0") ) return "PROXY proxy.wireless.rmit.edu.au:8080;DIRECT"; if (url.substring(0, 6) == "https:" ) return "PROXY bluetongue.cs.rmit.edu.au:8080"; return "PROXY bluetongue.cs.rmit.edu.au:8080;DIRECT"; }