How to Rewrite the accelerated pac file to a user-defined name


<< Back to Knowledge Search

Solution

Overview

Renaming the accelerated pac file from the default to a user-defined name

Renaming the accelerated PAC file

You want to rename the accelerated pac file from the default to a user-defined name

Rewriting the accelerated PAC file

Cause
Resolution

You can accomplish this with a rewrite rule.

You want to be able to use http://proxy.company.com/pacfile as the location for the PAC file you can make a rewrite by using and modifying the CPL below.

Where 1.2.3.4 is the ip address of your proxy, and http://proxy.company.com/pacfile is the url you want to point to.

<proxy>
url="http://proxy.company.com/pacfile" action.rewrite_pac(yes) 

define action rewrite_pac
   rewrite(url,"(.*)","http://1.2.3.4:8080/accelerated_pac_base.pac")
end

; Note: If you are using a non-standard HTTP service on the proxy, use that in the above policy instead of 8080.

Workaround
Additional Information
Bug Number
InQuira Doc IdKB1907
Attachment

Article Feedback

Hide Properties
First Published      10/01/2014
Last Modified      10/01/2014
Last Published      10/01/2014
Article Audience
Product      ProxySG
Software      SGOS 4, SGOS 5
Topic      Networking, Policy Management
Article Number      000011353
Summary     
Was this helpful?
Comments:
 
Previous MonthNext Month
SunMonTueWedThuFriSat