Next: Generating directory listings
Up: Mapping directives
Previous: CERN server directives
The NCSA mapping directives perform URL matching on the basis of
initial substrings. Wildcards are not supported. These directives
are only recognized in the server resource configuration file.
Alias initial-substring replacement
If the initial substring of the path part of a URL matches that
given in the directive, it is replaced with the contents of
replacement.
Alias /depts/sales/ /usr/depts/sales/
Analogous to the CERN Map and Pass directives.
Redirect initial-substring replacement
If the initial substring of the path part of a URL matches that
given in the directive, the request is redirected to another server
as specified by replacement.
Redirect /sales/ http://othersite.org/usr/depts/sales/
Analogous to the CERN Redirect directive.
Spinning the Web by Andrew Ford
© 1995 International Thomson Publishing
© 2002 Andrew Ford and Ford & Mason Ltd
Note: this HTML document was generated in December 1994 directly from the
LaTeX source files using LaTeX2HTML. It was formatted into our standard page layout
using the Template Toolkit. The document is mainly of historical
interest as obviously many of the sites mentioned have long since
disappeared.
|