PAC file not working in IE 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2013 07:22 AM
I have the IE9 browser set to use the PAC file, but it does not send traffic to the WSA. I have tried it locally from the C: drive and downloading it from the WSA PAC source. Putting the link to the file opens it from either location. It seems that it is not processing it.
Some document suggested to name it proxy.pac; this did not help.
Here is the code to proxy when the WSA is available and go direct to the website when the WSA is not in the network the user is in (mobile users)
function FindProxyForURL(url,host){
return "PROXY 10.100.2.2:80;
DIRECT;"
}
- Labels:
-
Web Security
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2013 07:36 AM
Try removing the DIRECT. Also try using the hostname for the WSA.
Christian Rahl
Customer Support Engineer
Cisco Web Content Security Appliance
Cisco Technical Assistance Center RTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2013 12:17 PM
Thanks for the quick response.
Taking out DIRECT fixed this. Leaving the IP works, since the WSA is not in DNS.
So many examples include the DIRECT...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2013 03:24 PM
I made it work with the DIRECT; must have been a syntax error...So it looks like this with DIRECT on the same line
function FindProxyForURL(url,host){
return "PROXY 10.100.2.2:80; DIRECT;"
}
Thanks for helping troubleshoot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2013 04:22 AM
I would highly recommend putting the WSA in the DNS resolution. Depending on what kind of authentication you are performing, you will need to resolve the hostname.
Christian Rahl
Customer Support Engineer
Cisco Web Content Security Appliance
Cisco Technical Assistance Center RTP
