Click Create to create an alias.

2-28 Oracle Fusion Middleware Administrators Guide for Oracle Web Cache 2. For undefined sites for requests that do not match any site, use Oracle Web Cache Manager and perform the following tasks:

a. From Oracle Web Cache Manager, in the navigator frame, select Origin

Servers, Sites, and Load Balancing Site Definitions. See Section 2.7.2 . The Site Definitions page displays.

b. Select the Undefined Sites row, and then click ShowEdit Selected.

The ShowEdit Undefined Sites Definition dialog displays.

c. For the Site-Wide Compression element, click No.

d. Click Submit.

e. Click Apply Changes.

f. Restart Oracle Web Cache. See Section 2.13 .

2.11.4 Task 4: Map Site Definitions to Origin Servers

After you specify site definitions, you create ordered mappings of sites to origin servers. For an overview of site configuration, see Section 2.2 . If Oracle HTTP Server was installed, the installation process creates a default site-to-server mapping based on the host name and listening port of Oracle HTTP Server. If you configured multiple origin servers in Section 2.11.2 for load balancing , then create one site-to-server mapping that maps all the applicable origin servers to the site. In that site-to-server mapping, select all the origin servers that apply for the site. If you split the origin servers among multiple site-to-server mappings, load balancing for the site does not occur in the intended manner. To map sites to origin servers: 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-to-Server Mapping section, click Create.

The Create Site-to-Server Mapping page displays.

4. Configure the Host Pattern, Port Pattern, and Prefix elements:

a. In the Host Pattern field, enter the site pattern, such as www.company.com.

To enable Oracle Web Cache to match requests to this site, do not add protocol information http: or https: to the host name. You can use the wildcard in the Host Pattern field in the following ways: - Map multiple site names to one or more application Web server or proxy servers. For example, .company.com can be used to match sites site1.company.com and site2.company.com. - Route cache misses to sites outside a firewall and accessible by a proxy server. For example, can be used to map to proxy server proxy-host.

b. In the Port Pattern field, enter the HTTP or HTTPS port number for the Web

site from which Oracle Web Cache is listening for incoming requests.