Project

General

Profile

Actions

Alias

Module: mod_alias

Description

The alias module is used to specify an alternate filesystem path for a given url-path prefix, instead of the url-path being mapped under the document-root.

Options

alias.url
Map url-path with matching prefix to an alternate filesystem path, e.g. separate from the document-root.
For a list of url-path prefixes, the first url-path prefix which matches the request url-path is used, so for url-path prefixes sharing the same url-path beginning, the longer url-path prefix must be listed before the shorter url-path prefix.
Default: empty

Example of usage:


    alias.url = ( "/cgi-bin/" => "/var/www/servers/www.example.org/cgi-bin/" )

You can add additional aliases by:


    alias.url += ( "/content" => "/var/www/servers/www.somecontent.org" )

Updated by gstrauss 3 months ago · 17 revisions