HTTP Administration 8-9

7KH5HGLUHFW5XOH

The redirect rule specifies that if a component of a URL matches the template, the
request is redirected to the URL defined in the result field. The result field for
the redirect rule must be specified as a complete URL beginning with
http:// and the
host name.
For example, if /etc/httpd.translations contains the following entry
UHGLUHFWFJLELQKWWSFJLKRVW
the filer redirects CGI requests to another HTTP server named cgi-host. This is essen-
tial for calls to cgi-bin because the filer does not execute them.

7KH3DVV5XOH

The pass rule specifies that if a component of a URL matches the template, the filer
accepts the request, processes the request as is, and disregards other rules.
For example, if /etc/httpd.translations contains the following entry
SDVVLPDJHELQ
the filer processes the request for any URL containing /image-bin as is, even though
there is another rule specified as follows:
PDSLPDJHELQXVUORFDOKWWSLPDJHV
If the pass rule includes the result field, the filer accepts the request, processes
the request by using the URL defined in the result field, and disregards other
rules.

7KH)DLO5XOH

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.
For example, if /etc/httpd.translations contains the following entry
IDLOXVUIRUELGGHQ
the filer does not provide access to the /usr/forbidden directory.
+RZWKH)LOHU3URFHVVHV5XOHV
The filer processes the rules defined in /etc/httpd.translations in the order they are
listed, and applies the rule if the URL matches the template. However, the filer stops
processing other rules after it applies a pass or fail rule.
In the template or result field of an /etc/httpd.translations entry, you can use
asterisks (*) as wildcard characters, as follows:
In the template field, the wildcard character matches zero or more characters,
including the slash (/) character.