Name

ScriptAlias

Synopsis

                     ScriptAlias 
                     symbolic_path 
                     real_path
                  

[server config, within <VirtualHost>]

Creates a virtual directory of CGI programs by mapping a symbolic pathname that is used in a URL to a real directory of executable CGI programs on your server. Instead of returning a document in that directory, the server runs a requested file within a CGI environment and returns the output. For example:

ScriptAlias /cgi-bin/ /usr/local/frank/cgi-bin/

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.