Sophie

Sophie

distrib > Mandriva > current > x86_64 > media > contrib-backports > by-pkgid > d3ca1924c0189511db6cbcf277c7c085 > files > 45

lighttpd-1.4.30-imdv2010.2.x86_64.rpm

========================
Enhanced Virtual-Hosting
========================

------------------
Module: mod_evhost
------------------

:Author: Jan Kneschke
:Date: $Date: 2004/08/29 09:43:49 $
:Revision: $Revision: 1.1 $

:abstract:
  virtual hosting

.. meta::
  :keywords: lighttpd, virtual hosting

.. contents:: Table of Contents

Description
===========

mod_evhost builds the document-root based on a pattern which contains
wildcards. Those wildcards can represent parts if the submitted hostname


::

  %% => % sign
  %0 => domain name + tld
  %1 => tld
  %2 => domain name without tld
  %3 => subdomain 1 name
  %4 => subdomain 2 name
  %_ => the complete hostname (without port info)

  evhost.path-pattern = "/home/www/servers/%3/pages/"

Options
=======

evhost.path-pattern
  pattern with wildcards to be replace to build a documentroot