Solutions

Internet Explorer 8 (IE8) does not match IP addresses in a Proxy Automatic Configuration (PAC) file

Solutions ID:    KB2952
Version:    1.0
Status:    Published
Published date:    06/18/2009
 

Problem Description

Internet Explorer 8 (IE8) does not match IP addresses in a Proxy Automatic Configuration (PAC) file
IE8 does not match IP addresses via the isInNet() function in the PAC file
IE8 isn't working with my accelerated PAC file
IE8 wants to go direct instead of going through the proxy

Resolution

Currently, the only work-around available is to use host or domain instead of IP matching.

For example, if 10.10.10.0/24 is covered by mydomain.com then you could use this PAC file:

function FindProxyForURL(url, host)
{
          if (dnsDomainIs(host, ".mydomain.com"))
          {return "DIRECT";}

          return "PROXY bcproxy.mydomain.com:8080; DIRECT"; }

 

Additional information:

Here is an example where IE8 will not match this configuration in the PAC file:

function FindProxyForURL(url, host)
{
          if (isInNet(host, "10.10.10.0", "255.255.255.0"))
          {return "DIRECT";}

          return "PROXY bcproxy.mydomain.com:8080; DIRECT"; }

will never match any IP in the 10.10.10.0/24 range.


Rate this Page

Please take a moment to complete this form to help us better serve you.

Did this document help answer your question?
 
 
If you are finished providing feedback, please click the RATE CONTENT button. Otherwise, please add more detail in the following text box and then click RATE CONTENT.
 
 

Your response will be used to improve our document content.

Ask a Question