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 | Version 8.1.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. If you have a proxy.pac file, copy it into the Content Gateway config directory.
 
Note 
If the HTTPS protocol option is enabled, see Running in explicit proxy mode, for information on a PAC file to use with HTTPS traffic.
1.
If you have an existing wpad.dat file, replace the wpad.dat 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 Websense Technical Library.
5.
Click Apply.
6.
Click Restart on Configure > My Proxy > Basic > General.
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 example, for Microsoft Internet Explorer, you set the location of the PAC file in the Use automatic configuration script field under Tools > Internet Options > Connections > LAN Settings. For Mozilla Firefox, proxy configuration settings are in Tools > Options > Advanced > Network > Settings > Connection Settings > Automatic proxy configuration URL. 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 2016 Forcepoint LLC. All rights reserved.