OldScriptAlias directive


Purpose

The OldScriptAlias directive creates a virtual directory on your server. Any accesses to that virtual directory will be satisfied by returning the output of an NCSA server script in that directory.


Syntax

OldScriptAlias virtual path

virtual is the translated location of the script directory.

path is the full pathname of the directory which contains server scripts which fulfill the request.

Several OldScriptAlias directives may appear in the configuration file.


Example

OldScriptAlias /htbin /usr/local/etc/httpd/htbin

This would cause requests such as /htbin/foo to be satisfied by running the script /usr/local/etc/httpd/htbin/foo.

Thus, if someone requested /htbin/a-script, the server would run /usr/local/etc/httpd/htbin/a-script and send its output to the client.


Return to Resource Configuration File Overview

httpd@ncsa.uiuc.edu