Inside the PAC file must be defined FindProxyForURL function that is invoked by the browser to decide what kind of Internet access to use. The function is defined as
Code:
function FindProxyForURL (url, host)
where host is the IP address of the site and contact url is the complete URL request from the browser. The function must return a string which is then interpreted by the browser, this string can be
Code:
DIRECT
PROXY nomehostproxy: portaproxy
nomehostproxy portaproxy and where are the hostname and port to run on proxies. DIRECT indicates that the connection is made dirttamente without proxy.
Bookmarks