File: evhost.txt

package info (click to toggle)
lighttpd 1.4.13-4etch12
  • links: PTS
  • area: main
  • in suites: etch
  • size: 4,480 kB
  • ctags: 3,537
  • sloc: ansic: 37,630; sh: 8,915; perl: 2,215; yacc: 584; makefile: 374; php: 9
file content (45 lines) | stat: -rw-r--r-- 801 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
========================
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

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

Options
=======

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