Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Explicit Proxy > Using a PAC file
Using a PAC file
Help | Content Gateway | v8.5.x
A PAC file is a JavaScript function definition that a browser calls to determine how requests are handled. Clients must specify in their browser settings the URL from which the PAC file is loaded.
You can store a PAC file on the proxy and provide the URL for this file to your clients.
 
Note 
If the HTTPS protocol option is enabled, see Enabling SSL support for information about a PAC file to use with HTTPS traffic.
1.
If you have an existing proxy.pac file, replace the proxy.pac file located in the Content Gateway config directory with your existing file.
2.
Navigate to the Configure > Content Routing > Browser Auto-Config > PAC tab.
3.
In the Auto-Configuration Port field, specify the port that Content Gateway uses to serve the PAC file. The default port is 8083.
4.
*
If you copied an existing PAC file into the Content Gateway config directory, the proxy.pac file contains your proxy configuration settings. Check the settings and make changes if necessary.
*
If you did not copy an existing PAC file into the Content Gateway config directory, the PAC Settings area is empty. Enter the script that provides the proxy server configuration settings. A sample script is provided in Sample PAC file. See, also, the article titled "PAC File Best Practices" in the Documentation Library.
5.
Click Apply.
6.
Go to the Configure > My Proxy > Basic > General tab and click Restart.
7.
For example, if the PAC file is located on the proxy server with the hostname proxy1 and Content Gateway uses the default port 8083 to serve the file, users must specify the following URL in the proxy configuration settings:
http://proxy1.company.com:8083/proxy.pac
The procedures for specifying the PAC file location vary among browsers.
For Microsoft Internet Explorer:
1.
Go to Tools > Internet Options > Connections > LAN Settings.
2.
Select Use automatic configuration script.
3.
http://<proxy_host>:8083/proxy.pac
4.
For Mozilla Firefox:
1.
Go to Tools > Options > Advanced > Network > Connection > Settings.
2.
Select Automatic proxy configuration URL field, and enter
http://<proxy_host>:8083/proxy.pac
3.
Click Reload, and then click OK.
See the documentation for your browser for details.

Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Explicit Proxy > Using a PAC file
Copyright 2023 Forcepoint. All rights reserved.