Content Gateway Help
Websense Content Gateway v7.5

Go to the table of contents Go to the previous page Go to the next page Go to the index View or print as PDF
Explicit Proxy Caching > Using a PAC file

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 you are using SSL Manager, refer to 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.
*
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.
5.
Click Apply.
6.
Click Restart on Configure > My Proxy > Basic > General.
For example, if the PAC file is located on the proxy server with the host name proxy1 and Content Gateway uses the default port 8083 to serve the file, users must specify the following URL in the proxy configuration settings:
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 Go to the index View or print as PDF
Explicit Proxy Caching > Using a PAC file