How do I specify a URL in a PAC file to bypass Content Gateway?

PAC files are easily modified to specify any number of URLs that will bypass the proxy. Such entries are often referred to as exceptions.

Most PAC files already have 1 or more exceptions. A common exception is for internal networks. For example:

if (isInNet(host, "192.168.0.0", "255.255.0.0"))

{return "DIRECT";}

An entry for an external site might look like:

if (shExpMatch(url, "*.webex.com/*"))

{return "DIRECT";}
Warning: Some versions of Java have had problems with common proxy PAC file functions such as isInNet(). Please review the Java open issues in the release notes for the versions of Java used by your client browsers.