How to change the default path or filename for the PAC file on the ProxySG appliance?
search cancel

How to change the default path or filename for the PAC file on the ProxySG appliance?

book

Article ID: 165999

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

If client machines should use a URL such as http://pac.example.com/pacfile.pac, then create a redirect to the accelerated PAC file found at http://192.168.1.1:8080/accelerated_pac_base.pac

 

Resolution

To modify the PAC file URL:

  1. In the Management Console, click Configuration tab > Policy Policy Files
  2. From the Install Local File from: drop·down list, select Text Editor.
  3. Click the Install button; the Edit and Install the Local File window displays.
  4. Replace the IP address and URL in the following example with the address of the appliance and the URL client devices should use. Paste the policy into the Install the Local File window:

 <Proxy>
   url.domain=//pac.example.com/pacfile.pac action.pac_redirect(yes)
   define action pac_redirect
   redirect( 302, ".*", "http://192.168.1.1:8080/accelerated_pac_base.pac" )
   end

  1. Click Install.
  2. Click Apply.
  3. Point all client devices to use the URL specified as the location for the Automatic Configuration Script.