Advanced Photon Source

An Office of Science National User Facility

CAT Proxy

Web Browsing Behind the Firewall

When using a Web browser behind the firewall, access to URLs and references to non-standard ports (for example, port 8080) will NOT work.Only access to URLs and referenceson port 80 will be available by default.To handle requests to non-standard ports, users MUST configure their browsers to use the firewall as their proxy.This configuration varies depending upon the browser, operating system, and version.An automatic proxy configuration file provides one location where changes can be centralized and users simply point their Web browsers to this file.A proxy configuration file has been created for all CATs currently behind the firewall.

To access this proxy configuration file from the browser, find the proxy configuration window in your browser.Then choose automatic proxy configuration and type in http://cat.aps.anl.gov/cat.proxy for the proxy configuration file.To test the proxy configuration in the browser try accessingSearch Argonne Site . Additional information is given below on using manual configuration or configuring your own proxy configuration file.

Manual Proxy Configuration:

Proxy  Address of proxy to use  Port 
ftp null null
gopher zeta.aps.anl.gov 80
http zeta.aps.anl.gov 80
security zeta.aps.anl.gov 80
wais zeta.aps.anl.gov 80

No proxy for hosts on your local network or other CAT subnets behind the firewall and localhost (127.0.0.1).
DO NOT specify anything for the "SOCKS Host".Leave this blank.

Automatic Proxy Configuration:

See http://developer.netscape.com:80/docs/manuals/proxy/adminux/autoconf.htm for detailed information.

An example of a JavaScript used for automatic proxy configuration is given below:

function FindProxyForURL(url, host)
    {if (dnsDomainIs(host, ".XXX.aps.anl.gov") ||
      isInNet(host, "164.54.XXX.0", "255.255.255.0") ||
      return "DIRECT";
    else
      return "PROXY zeta.aps.anl.gov:80; DIRECT";}

This code should be saved to a file with a suffix of proxy (e.g. cat.proxy). Then to reference this file from the Web browser, store this file on a web server, ftp server or any directory which the browser has access.Connections to any servers behind the firewall including other CATs must be made directly and NOT go through zeta.