Project

General

Profile

Mod alias » History » Revision 5

Revision 4 (moo, 2007-07-07 15:28) → Revision 5/17 (moo, 2007-07-07 15:29)

[[TracNav(DocsToc))]] 
 [[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.