URL remap rules

Configuration Variable Data Type Description
proxy.config.url_remap.default_ to_server_pac INT

Default: 0

Enables (1) or disables (0) requests for a PAC file on the proxy service port (8080 by default) to be redirected to the PAC port.

For this type of redirection to work, proxy. config.reverse_proxy.enabled must be set to 1.

proxy.config.url_remap.default_ to_server_pac_port INT

Default: -1

PAC requests made to the Content Gateway proxy service port are redirected to this port.

-1 sets the PAC port to the autoconfiguration port (default 8083).

This variable can be used with proxy. config.url_remap.default_

to_server_ pac to get a PAC file from a different port. You must create and run a process that serves a PAC file on this port; for example, if you create a Perl script that listens on port 9000 and writes a PAC file in response to any request, you can set this variable to 9000, and browsers that request the PAC file from a proxy server on port 8080 will get the PAC file served by the Perl script.

proxy.config.url_remap.remap_ required INT

Default: 0

Set this variable to 1 if you want Content Gateway to serve requests only from origin servers listed in the mapping rules of the remap.config file. If a request does not match, the browser receives an error.

proxy.config.url_remap. pristine_host_hdr INT

Default: 0

Set this variable to 1 if you want to retain the client host header in a request during remapping.