Solutions

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

Solutions ID:    KB1907
Version:    8.0
Status:    Published
Published date:    03/02/2009
Updated:    11/30/2012
 

Problem Description

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

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.


Rate this Page

Please take a moment to complete this form to help us better serve you.

Did this document help answer your question?
 
 
If you are finished providing feedback, please click the RATE CONTENT button. Otherwise, please add more detail in the following text box and then click RATE CONTENT.
 
 

Your response will be used to improve our document content.

Ask a Question