Build a Caching Proxy network
Figure 1 shows a basic proxy server network using three computer systems located at three network nodes. This network binds the proxy server to a dedicated content host (IBM® HTTP Server), which is located on Server 2, and the proxy server serves the host. This is visually represented by the Internet being located between the workstation and Server 1.
IMPORTANT: Caching Proxy is available on all Edge component installations except for installations that run on Itanium 2 or AMD Opteron 64-bit processors.

Workflow
Review required computer systems and software
The following computer systems and software components are needed:
- Computer system to act as Server 1. This system must have access to the Internet.
- Computer system to act as Server 2. An HTTP server must be installed on the content host.
- Computer system to act as the workstation. A Web browser must be installed.
Build Server 1 (Linux and UNIX systems)
- Ensure that the computer server meets all hardware and software requirements.
- Log in as the superuser, typically root.
- Install the Caching Proxy component.
- Create an administrator identification and password for accessing
the Configuration and Administration forms by entering the following command:
# htadm -adduser /opt/ibm/edge/cp/server_root/protect/webadmin.passwd
When prompted, provide the htadm program with a user name, password, and real name for the administrator.
- Continue with Configure Server 1.
Build Server 1 (Windows system)
- Ensure that the Windows 2000 and Windows 2003 operating systems meet all hardware and software requirements.
- Log in as a user with administrator privileges.
- Install the Caching Proxy component.
- Create an administrator identification and password for accessing
the Configuration and Administration forms by entering the following command:
cd "Program Files\IBM\edge\cp\server_root\protect" htadm -adduser webadmin.passwd"
When prompted, provide the htadm program with a user name, password, and real name for the administrator.
- Continue with Configure Server 1.
Configure Server 1
From the workstation, do the following:
- Start a Web browser.
- In the Address field of your browser, enter http://server_1 , where server_1 refers to the actual host name or IP address of the machine designated as Server 1.
- Click Configuration and Administration Forms.
- Enter your administrator name and password. The Configuration and Administration forms open in your browser.
- Click Server Configuration—>Request Processing—>Request Routing.
- Insert a new wildcard-mapping rule prior to the existing one by selecting the Insert Before radio button and the index value of the existing wildcard-mapping rule.
- Select Proxy from the Action drop-down box.
- Type /* in the URL request template field.
- Type the host name for the site to which to redirect HTTP requests in the Server IP Address or host name field. Precede this value with http://.
- Click Submit.
- Create a mapping rule that allows access to the Configuration and Administration forms by selecting the Insert Before radio button and the index value of the mapping rule created in step 6.
- Select Pass from the Action drop-down box.
- Type /pub/* in the URL request template field.
- Enter the location of the Configuration and Administration forms:
-
Type /opt/ibm/edge/cp/server_root/pub/en_US/* in the Server IP Address or host name field.
-
Type "C:\Program Files\IBM\edge\cp\server_root\pub\en_US\*" in the Server IP Address or host name field.
-
- Click Submit.
- Click the Restart Server icon at the top of the configuration form.
- Continue with Test the Caching Proxy network.
Test the Caching Proxy network
From the workstation, do the following:
- Start a Web browser.
- Enter http://server_1 in the Address field of your browser. HTML pages from Server 2 will be proxied through Server 1 and delivered to the Web browser.
- To access the Configuration and Administration forms, enter http://server_1/pub/ into the Address field of your browser. The home page of the Configuration and Administration forms is displayed.