|
|
Fichier de Configuration automatique du proxyDe $1Sommaire
Voici comment créer un fichier de configuration automatique du proxy :
Exemple de fichier : proxy.pac
function FindProxyForURL(url, host)
{
if (isPlainHostName(host) || dnsDomainIs(host,".mondomaine.fr") || isInNet(host, "10.114.0.0", "255.255.0.0"))
return "DIRECT";
else if (shExpMatch(host, "*.local"))
return "DIRECT";
else
return "PROXY 192.168.14.100:8080; DIRECT";
}
Mots clés:
|