function FindProxyForURL(url, host) {
/* Bypass FTP */
if (url.substring(0,4) == "ftp:")
return "DIRECT";
/* Bypass the Prisma Access Portal Hostname */
if (shExpMatch(host, "*.splittunnel.gpcloudservice.com"))
return "DIRECT";
/* Bypass the Prisma Access Gateway */
if (shExpMatch(host, "*examplegateways.gw.gpcloudservice.com"))
return "DIRECT";
/* Bypass the Prisma Access PAC File URL */
if (shExpMatch(host, "https://pacfileurl.pac"))
return "DIRECT";
/* Bypass the URLs Being Sent to the GlobalProtect Portal */
if (shExpMatch(host, "*.internal-app.corp.com"))
return "DIRECT";
/* Bypass ACS */
if (shExpMatch(host, "*.acs.prismaaccess.com"))
return "DIRECT";
/* Forward to Prisma Access */
return "PROXY example.proxy.prismaaccess.com:8080";
}