~ubuntu-branches/ubuntu/natty/lighttpd/natty

« back to all changes in this revision

Viewing changes to tests/var-include.conf

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Marek
  • Date: 2005-11-26 11:48:51 UTC
  • Revision ID: james.westby@ubuntu.com-20051126114851-76t9q0rrwbzjnt2t
Tags: upstream-1.4.8
ImportĀ upstreamĀ versionĀ 1.4.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
debug.log-request-handling = "enable"
 
3
debug.log-condition-handling = "enable"
 
4
 
 
5
server.document-root         = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/"
 
6
server.pid-file              = "@SRCDIR@/tmp/lighttpd/lighttpd.pid"
 
7
 
 
8
## bind to port (default: 80)
 
9
server.port                 = 2048
 
10
 
 
11
## bind to localhost (default: all interfaces)
 
12
server.bind                = "localhost"
 
13
server.errorlog            = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.error.log"
 
14
server.name                = "www.example.org"
 
15
server.tag                 = "Apache 1.3.29"
 
16
 
 
17
 
 
18
server.modules              = ( "mod_redirect",
 
19
                                "mod_accesslog" ) 
 
20
 
 
21
######################## MODULE CONFIG ############################
 
22
 
 
23
 
 
24
accesslog.filename          = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.access.log"
 
25
 
 
26
mimetype.assign             = ( ".html" => "text/html" )
 
27
 
 
28
url.redirect = ("^" => "/default")
 
29
 
 
30
$HTTP["host"] == "www.example.org" {
 
31
  server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/"
 
32
  server.name = "www.example.org"
 
33
  url.redirect = ("^" => "/redirect")
 
34
}
 
35
$HTTP["host"] == "test.example.org" {
 
36
  server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/"
 
37
  server.name = "test.example.org"
 
38
  var.myvar = "good"
 
39
  var.one = 1
 
40
  include "var-include-sub.conf"
 
41
}