Name
ScriptAliasMatch
Synopsis
ScriptAliasMatchregex
filename
[server config, within
<VirtualHost>
]
Similar to
ScriptAlias
, but uses regular expressions. This
option creates a virtual directory of CGI programs by mapping any
symbolic pathnames that match the standard regular expression
regex to a real directory of executable CGI
programs on the server. For example:
ScriptAliasMatch ^/cgi-bin(.*) /usr/local/frank/cgi-bin$1
See Chapter 12 for more information on CGI.
Get Webmaster in a Nutshell, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.