Comment utiliser un proxy différent pour une adresse différente?

Je suis dans un bureau, derrière un proxy HTTP. Il est configuré dans le panneau de commande (Windows 7). J'aimerais utiliser un proxy différent pour une courte liste de domaines particuliers. Comment puis-je réaliser cela?

En utilisant un fichier PAC (Proxy Auto Config) …

Exemple (de Wikipédia):

function FindProxyForURL(url, host) { // our local URLs from the domains below example.com don't need a proxy: if (shExpMatch(host, "*.example.com")) { return "DIRECT"; } // URLs within this network are accessed through // port 8080 on fastproxy.example.com: if (isInNet(host, "10.0.0.0", "255.255.248.0")) { return "PROXY fastproxy.example.com:8080"; } // All other requests go through port 8080 of proxy.example.com. // should that fail to respond, go directly to the WWW: return "PROXY proxy.example.com:8080; DIRECT"; } 

Comment le définir dans IE

En plus de la réponse de Pataluc
Cet exemple vous montre comment construire un fichier PAC pour une courte liste d'URL

 function FindProxyForURL(url, host) { // fill in your own proxy var proxy = "PROXY 192.168.1.1:8080"; if (shExpMatch(url, "http://www.firstwebsite.com*")) { return proxy; } if (shExpMatch(url, "http://www.secondwebsite.com*")) { return proxy; } if (shExpMatch(url, "http://www.thirdwebsite.com*")) { return proxy; } // don't proxy all other URLs return "DIRECT"; }