PAC Script Support
The Rawstream Web Filtering agent can be configured to serve a PAC script.
The PAC URL is: http://localhost:8999/rawstream.pac
The default PAC served:
function FindProxyForURL(url, host)
{
if (url.substring(0, 6) == "https:") {
return "PROXY 127.0.0.1:8081";
}
if (url.substring(0, 5) == "http:") {
return "PROXY 127.0.0.1:8080";
}
// for all other protocols, skip proxy
return "DIRECT";
}
To serve a custom PAC script from file, set the pacscript-file
registry key with the absolute path to PAC file.