Answer the question
In order to leave comments, you need to log in
Exceptions do not work correctly in IE11, how to write them correctly?
There is a proxy server squid 3.3.8 clients with win7 and IE11. There was a need to let some sites by the proxy, it turned out that exceptions in IE are ignored, and the request goes through the proxy. The entries now look like this:
*.mydomain.ru;*.mydomain2.ru;e5.*;1c.ru;edi.*;comarch.*;ediweb.*;edisfera.*;*.7cont.*;
Answer the question
In order to leave comments, you need to log in
Use the automatic proxy configuration script. There you can filter everything very flexibly.
You can also configure "Automatic detection of parameters" - the meaning is the same, you just do not need to specify the path for the autoconfiguration script. Though with HELL and GPO it is possible not to bother with it.
Search keywords: WPAD and PAC file.
on the advice of res2001 , it was decided to use wpad, the working wpad.dat is below:
function FindProxyForURL(url, host)
{
// Don't proxy local hostnames
if (isPlainHostName(host)) {return "DIRECT";}
// Don't proxy local addresses
if (isInNet(host, "192.168.0.0", "255.255.254.0")) {return "DIRECT";}
if (isInNet(host, "192.168.2.0", "255.255.255.0")) {return "DIRECT";}
if (isInNet(host, "192.168.10.0", "255.255.254.0")) {return "DIRECT";}
if (isInNet(host, "192.168.15.0", "255.255.255.0")) {return "DIRECT";}
if (isInNet(host, "192.168.51.0", "255.255.255.0")) {return "DIRECT";}
// Don't proxy local hosts
if (shExpMatch(host, "127.0.0.1" )) {return "DIRECT";}
if (shExpMatch(host, "*/localhost*" )) {return "DIRECT";}
// Don't proxy local domains
if (dnsDomainIs(host, ".mydomain.ru")) {return "DIRECT";}
if (dnsDomainIs(host, ".mydomain2.ru")) {return "DIRECT";}
// proxy override
if (shExpMatch(url, "*.7cont.ru*")) {return "DIRECT";}
if (shExpMatch(url, "*.rbk.ru*")) {return "DIRECT";}
if (shExpMatch(url, "*.rbc.ru*")) {return "DIRECT";}
// other all go to proxy
return "PROXY proxy:3128; DIRECT";
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question