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------
<proxy> url.path=/wpad.dat action.redirect_pac(yes) allow
define action redirect_pac redirect(302,"(.*)","http://192.168.1.2:8080/accelerated_pac_base.pac") end ;------end redirect WPAD to PAC------
Imported Document ID: 000016162
Subscribing will provide email updates when this Article is updated. Login is required.
Thanks for your feedback. Let us know if you have additional comments below. (requires login)
Subscribed to the Article.
Unable to subscribe
Thanks for your additional feedback !!!
Enterprise Support Virtual Agent
Rate Me :
Tell us more:
Welcome! My name is Sami, the Enterprise Support Virtual Agent answering technical support questions.