Configuring a PAC file (legacy Presence)

If a proxy auto-config (PAC) file is required in order to reach the various domains in your site, configure the AppScan Presence as follows.


  1. In the root folder of the presence, locate and open it with a text editor.
  2. Add the PAC file path, using one of the following file path formats (filename is sample.pac in these examples):
    • http://<serverurl>/sample.pac
      Note: Full HTTP path, not HTTPS.
    • file:///C://<dir>//<dir>//<dir>//sample.pac
    • C:\\<dir\\<dir\\sample.pac

    For example, you would need to change:

    Important: For DAST scans: The Starting URL must be reachable using the PAC file.
    Important: Any if/else clauses in the file must be inside curly brackets "{}".
    Note: Configuring both a Private Site Server proxy and a PAC file is not supported.
  3. If the Presence is running, terminate it (Ctrl + C) for the changes to take effect.
  4. Start the Presence.