Apache Reference: mod_alias, ScriptAliasMatch


Map a URL to a Script Path via Regular Expression Match
Syntax: ScriptAliasMatch url-pattern A
Example: ScriptAliasMatch
Since: Apache 1.3

This directive is equivalent to ScriptAlias, but uses standard regular expressions instead of simple prefix matching. The supplied regular expression url-pattern is compared with the URL. If it matches, the server will substitute any matches in parentheses in fs-path into the given string and use it as a script file name.