July 2007
Intermediate to advanced
128 pages
2h 39m
English
A number of other Apache directives make use of regular expressions. The following are the most common.
AliasMatch pattern file-path|directory-pathMap URLs to filesystem locations. Use submatch variables $1...$n to access submatches in the resulting file path.
<DirectoryMatch pattern> ... </DirectoryMatch>Apply enclosed directives when filesystem directory matches pattern.
<FilesMatch pattern> ... </FilesMatch>Apply enclosed directives when file matches pattern.
<LocationMatch pattern> ... </LocationMatch>Apply enclosed directives when URL matches pattern.
<ProxyMatch pattern> ... </ProxyMatch>Apply enclosed directives when URL matches pattern.