//simple UO autoconfig (joelja@darkwing.uoregon.edu) 01/02/2000 function FindProxyForURL (url,host) { //uowireless requests don't get retrieved through proxy if (shExpMatch(host,"uowireless.uoregon.edu")) return "DIRECT"; //local items don't get retrieved through proxy if (shExpMatch(host,"*.uoregon.edu")) return "DIRECT"; //localhost items don't get retrieved through proxy if (isInNet(host, "127.0.0.1", "255.255.255.255")) return "DIRECT"; // retrieve everything else first through proxy(162.23) then proxy2(162.33) then direct return "PROXY 128.223.162.23:3128; PROXY 128.223.162.33:3128; DIRECT"; }
application/x-ns-proxy-autoconfig pac
application/x-ns-proxy-autoconfig dat
mime types to the mime.types file.