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.
Procedure
-
In the root folder of the presence, locate
config.properties
and open it with a text editor. -
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:
to##PACFilePath=
PACFilePath=http://<serverurl>/sample.pac
Important: For DAST scans: The Starting URL must be reachable using the PAC file.Important: Anyif/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. - If the Presence is running, terminate it (Ctrl + C) for the changes to take effect.
- Start the Presence.