Why can't we rewrite PAC or WPAD to self HTTP proxy service port?

FAQ ID:    FAQ410
Version:    2.0
Status:    Published
Published date:    08/25/2009
Updated:    10/11/2011


We can’t rewrite PAC or WPAD back to own HTTP explicit proxy service port (usually port 80 or port 8080) because of loopback detection. The proxy will return with "400 bad request" error message. Such rewrite was never been supported or intended to be. The workaround is to use redirect instead of rewrite or rewrite the PAC or WPAD to another ProxySG's http service ports.

A basic example of a redirect policy for WPAD can be found below:

;------start redirect WPAD to PAC------

  url.path=/wpad.dat action.redirect_pac(yes) allow

define action redirect_pac
;------end redirect WPAD to PAC------

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