Alias directive


Purpose

The Alias directive creates a virtual document (or directory) on your server. Any accesses to it will be satisfied by a different file or directory.


Syntax

Alias virtual path

virtual is the translated location of the file/directory.

path is the full pathname of the file or directory which should be used to fulfill the request.

Several Alias directives may appear in the configuration file.


Example

Alias /images /ftp/pub/images

This would cause requests for /images to be satisfied from the directory /ftp/pub/images.

Thus, if someone requested /images/foo.gif, the server would return /ftp/pub/images/foo.gif.


Return to Resource Configuration File Overview

httpd@ncsa.uiuc.edu