Configure the Host, Port, Capacity, Protocol, and Routing Enabled settings for

2-26 Oracle Fusion Middleware Administrators Guide for Oracle Web Cache

2.11.3 Task 3: Specify Site Definitions

For Oracle Web Cache to act as a virtual server for one or more Web sites, configure Oracle Web Cache with information about the named Web sites. For an overview of site configuration, see Section 2.2 . To create site definitions: 1. Navigate to the Web Cache Home page in Fusion Middleware Control. See Section 2.6.2 .

2. From the Web Cache menu, select Administration and then Sites.

The Sites page displays.

3. From the Site Definitions section, click Create.

The Create Site page displays. 4. In the Create section, configure the elements using the descriptions in Table 2–10 .

5. In the Aliases section, specify all the possible aliases for the site to ensure requests

are directed to the correct site. An alias specifies the host and port in which browsers use to connect to the site.

a. Click Create to create an alias.

b. Configure the Host and Port fields using the descriptions in

Table 2–10 .

6. Click OK to apply changes and return to the Sites page. It is not necessary to click

Apply in the Sites page to apply this change. 7. Repeat Steps 3 to 6 for each additional site. Ping URL Enter the URL that Oracle Web Cache uses to poll an origin server that has reached its failover threshold: ■ For an application Web Server, enter either a relative or a fully qualified URL that includes the domain name, or site name, representing the virtual host of the application Web server. ■ For a proxy server, enter a fully qualified URL that includes the domain name, or site name, representing the virtual host of the origin server behind the proxy server. The default value is: Rather than using a static URL, Oracle recommends using a URL that checks the health of the application logic on the origin server and returns the appropriate HTTP 200 or 500 status codes. Ping Frequency seconds Enter the time, in seconds, that Oracle Web Cache uses to poll an origin server that has reached its failover threshold. The default is 10 seconds. Proxy Web Server Click to treat this origin server as a proxy server. Username Enter the user name for the proxy server administrator. Password Enter the password of the proxy server administrator Confirm Password Reenter the password for the proxy server administrator. Table 2–9 Cont. Create Origin Server Element Description