Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Adding the fail rule

What the fail rule specifies  Top

The fail rule specifies that if a component of a URL matches the template, the filer denies access to that component and disregards other rules.

Adding the fail rule  Top

To add a fail rule in the /etc/httpd.translations file, complete the following steps.

Step

Action

1

Open the /etc/httpd.translations file using a text editor.

2

Enter the following command:

fail template 

template is a component of a URL.

3

Save the file.

Example of a fail rule entry  Top

The following fail rule entry in the /etc/httpd.translations file causes the filer to deny access to the /user/forbidden directory:

fail /usr/forbidden/*

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments