2.3.121 ScriptAlias
ScriptAlias specifies the URL for executing a CGI program, and the name of the directory where the CGI program is located.
Description
ScriptAlias specifies the request of the executing CGI program that was specified in the URL from the web browser, and the path of the directory containing the CGI program to be executed..
Syntax
ScriptAlias URL directory_name
Specifiable values
- URL
-
Specify the URL for executing the CGI program.
A URL that is the same as the following directive value cannot be specified.
-
path_name_specified_for_ProxyPass
For example, the following specification is not possible:
ScriptAlias /aaa/bbb/ C:/alias/ ProxyPass /aaa/ http://aaa.example.com/
-
- directory_name
-
Specify the directory name where the CGI program is located.
Specify the directory name as an absolute path.
Locations where it can be written
httpsd.conf and <VirtualHost>
Example
ScriptAlias /cgi-bin/ "installation_directory_for_Application_Server/httpsd/cgi-bin/"