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.
To add a pass rule in the /etc/httpd.translations file, complete the following steps.
| 1 | |
| 2 |
pass template [result] template is a component of a URL. result is the URL to which the request is redirected. The result field is optional. |
| 3 |
If you use an asterisk (*) as a wildcard character in the template field, the wildcard character matches zero or more characters, including the slash (/) character.
If you use asterisks in the result field, the wildcard character represents the text expanded from the match in the template field. You should include the wildcard character in the result field only if you use a wildcard in the template field.
If you use multiple wildcard characters, the first one in the result field corresponds to the first one in the template field, the second one in the result field corresponds to the second one in the template field, and so on.
The following pass rule entry in the /etc/httpd.translations file causes the filer to process the request for any URL containing the /image-bin directory as is:
pass /image-bin/*
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.
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00473
File: http7.htm
Last updated: 11/25/03 18:02:58