From the URL Type list, select an option to determine how the rules URL is

Configuring Request Filtering 4-9

g. Select the Allow check box for Oracle Web Cache to allow requests matching

the method and URL fields; deselect the check box for Oracle Web Cache to deny requests matching the method and URL fields.

h. Click the Monitor Only check box to see the match activity of the rule without

enforcing the rule. When results are expected, then disable Monitor Only to enforce the rule. See Section 4.4 for further information about the Monitor Only option.

i. Click Apply to save the rule settings.

8. Perform Step 7 for any additional rules. You can also add learned rules, as described in Section 4.7.1 .

9. Modify the Catch All rule, keeping in mind it is applied to all requests that do not

match a defined rule. Oracle recommends creating allow rules, followed by a Catch All deny rule. 10. Use the Move Up and Move Down icons to change the order in which the rules are matched against requests. The order of the rules is important. Oracle Web Cache matches higher priority rules first.

11. Click the Request Filters Summary breadcrumb at the top of the page, or from the

Web Cache menu, select Administration and then Request Filters to navigate back to the Request Filters Summary page.

12. In the Method row, click Enable to enable the filter.

If you do not click Enable, Oracle Web Cache ignores any configured filter rules for this filter.

13. Click Apply to save the configuration for the request filter.

4.7.1 Activating Learned Rules for the Method Request Filter

See Section 4.3 for further information about how learned rules are collected from the Catch All rule. You can add learned rules to the method request filter. To enable learned rules for the method request filter: 1. Navigate to the Method Request Filter page.

2. In the Learned Rules section, if you see that some learned rules have been

suggested, monitor the statistics for these rules by watching this page for awhile. When you decide that one or more learned rules make sense, proceed. If no learned rules display under Catch All Rule, then there are no learned rules. 3. Select the row, and click Add Rule to Defined Rules to activate the rule and move it the Defined Rules section.

4. Use the Move Up and Move Down icons to change the order in which the rules

are matched against requests.

5. Click Apply to save the configuration for the request filter.

4.8 Configuring Rules for the URL Request Filter

The URL request filter enables Oracle Web Cache to allow or deny access to a specific site URL.