Proxy.pac

Aus Programmers Guide

Wechseln zu: Navigation, Suche
function FindProxyForURL(url, host){
 if( host.indexOf( "." ) == -1 ){
  return "DIRECT" ;
 }
 if( shExpMatch(host, "192.168.0.*" ) || shExpMatch(host, "10.0.*" )){
  return "DIRECT"; 
 }
 else{
  return "PROXY 192.168.0.254:80"; }
 }
Persönliche Werkzeuge