Mod alias » History » Revision 4
Revision 3 (Anonymous, 2007-06-13 17:06) → Revision 4/17 (moo, 2007-07-07 15:28)
[[TracNav(DocsToc))]
{{{
#!rst
=====
Alias
=====
-----------------
Module: mod_alias
-----------------
.. meta::
:keywords: lighttpd, alias
.. contents:: Table of Contents
Description
===========
The alias module is used to specify a special document-root for a given url-subset.
Options
=======
alias.url
rewrites the document-root for a URL-subset
Default: empty
Example: ::
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/" )
}}}
There should be some explanation here about trailing slashes and how mod_alias handles them.