Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Explicit Proxy > Using a PAC file > Sample PAC file
Sample PAC file
Help | Content Gateway | Version 7.8.x
The following sample PAC file instructs browsers to connect directly to all hosts without a fully qualified domain name and to all hosts in the local domain. All other requests go to the proxy server called myproxy.company.com.
function FindProxyForURL(url, host)
{
if (isPlainHostName(host) || dnsDomainIs(host, ".company.com"))
return "DIRECT";
else
return "PROXY myproxy.company.com:8080; DIRECT";
}

Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Explicit Proxy > Using a PAC file > Sample PAC file
Copyright 2016 Forcepoint LLC. All rights reserved.