Project

General

Profile

Actions

Mod alias » History » Revision 5

« Previous | Revision 5/17 (diff) | Next »
moo, 2007-07-07 15:29


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.

Updated by moo over 17 years ago · 17 revisions