Changeset 881

Show
Ignore:
Timestamp:
11/25/2005 12:14:32 PM (3 years ago)
Author:
jan
Message:

improve the example based on a comment from dllm70-boborosso (at) yahoo.com

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/lighttpd-merge-1.4.x/doc/configuration.txt

    r835 r881  
    127127   
    128128  # handish virtual hosting 
    129   # map all subdomains to a single document-root 
    130   $HTTP["host"] =~ "\.example\.org$" { 
     129  # map all domains of a top-level-domain to a single document-root 
     130  $HTTP["host"] =~ "(^|\.)example\.org$" { 
    131131    server.document-root = "/var/www/htdocs/example.org/pages/" 
    132132  }