PAC File Editing

Last Updated : Jan 22, 2021 |
Prolog information
This process downloads the COM .pac file so that it can be opened in a text editor. The commands in the file can then be incorporated into the exist .pac file already being used.
  1. Obtain the address for the COM .pac file. See Getting the COM PAC File Address.
  2. Enter the address of the COM .pac into the browser address bar and download the file.
  3. Open the file in a text editor. It will look similar to the following:
    ADDITIONAL INFORMATION: function FindProxyForURL(url, host) {
      if (shExpMatch(host, "[a-zA-Z0-9]*-*.maint.<com_domain>")) { return "HTTPS maint.<com_domain>:6443"; }
      else {
           return "DIRECT";
       }
    }
    where:
    • <com-domain> is the domain part of the address normally used to connect to COM, prefixed with maint. For example, if you normally connect to COM using admin.example.com, for remote support use maint.example.com.
    For example:
    function FindProxyForURL(url, host) {
      if (shExpMatch(host, "[a-zA-Z0-9]*-*")) { return "HTTPS admin.example.com:6443"; }
      else {
           return "DIRECT";
       }
    }
  4. Working with your local IT administrator, incorporate the 'if' command into the existing .pac file used by your browsers.
Next steps