When configuring an existing PAC file, or creating a new one, you should be aware
of the following configurations. If these are not followed, may cause the PAC file
to fail.
Configure Bypass domains (Basic mode) or SkipHosts (Advanced mode)
When adding domains, remember the following:
- Domain configurations:
example.com
domain only matches <example.com> itself, but not its subdomains, for example<www.example.com>
*.example.com
matches all subdomains of <example.com>, such as<www.example.com>
, but not the main domain, <example.com>.-
.example.com
is an invalid configuration which does not match either<example.com>
or<www.example.com>
-
Do not modify the variable name of SkipHosts in advanced mode
Domain entries must not include ports, paths or protocols.
-
Invalid with ports:
10.206.199.33:8843
,*example.com:8443
-
Invalid with paths (including/):
abc.example.com/
,abc.example.com/category
,http://http.badssl.com:9998/
,172.16.0.0/16
-
Invalid with protocol prefixes:
http://example.com
,https://www.example.com
Configure PROXY entry in Advanced Mode

When configuring your proxy entries in the advanced mode, ensure that:
-
Each PROXY entry (except DIRECT) must start with PROXY (in all uppercase letters)
-
Each PROXY entry (except DIRECT) must include a port number
-
Each PROXY entry (except DIRECT) must not include protocol, such as http:// or https://
-
Multiple PROXY entries must be separated by semicolons (;)
Here are some common errors:
-
A missing port number for the first proxy entry:
var DefaultScanner = "PROXY 10.206.199.222; PROXY proxy.ztsa-iag-int.trendmicro.com:80; DIRECT";
-
Missing PROXY keyword for the second proxy entry:
var DefaultScanner = "PROXY 10.206.199.222:8088; proxy.ztsa-iag-int.trendmicro.com:80; DIRECT";
-
Incorrect lowercase for PROXY keyword for the second proxy entry:
var DefaultScanner = "PROXY 10.206.199.222:8088; proxy proxy.ztsa-iag-int.trendmicro.com:80; DIRECT";
Configure PAC file in Advanced Mode
When configuring your PAC file in advanced mode, do not:
-
Change any existing function name and how they are being called.
-
Modify any content in functions with
skip_
prefix.