|
Question : Question on PAC files
|
|
Hi
We are using PAC files in our environment. The .pac file has a list of sites that should be directed back, other requests should be sent out to the proxies.
We have a problem with clients downloading DAT files via the McAfee ftp site. If we don't use the PAC file (and configure the proxy directly in) then there is no problem.
I have run a packet capture on a laptop using the PAC file, and it appears that the requests for ftp.mcafee.com are being sent back to the internal DNS servers - not to the proxies. The internal DNS servers can't resolve the address, and the request fails.
I understand the PAC file we use is for HTTP requests only. Is this generally the case with PAC files, or can we add a line so that FTP requests are handled too?
Any help would be much appreciated!
Thanks
|
Answer : Question on PAC files
|
|
you could probably use this:
if (url.substring(0, 20) == "ftp://ftp.mcafee.com") {
|
|
|
|