1 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
3 ## bind to port (default: 80)
6 ## bind to localhost (default: all interfaces)
7 server.bind = "localhost"
8 server.errorlog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log"
9 server.breakagelog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log"
10 server.name = "www.example.org"
11 server.tag = "Apache 1.3.29"
13 server.dir-listing = "enable"
36 ######################## MODULE CONFIG ############################
39 accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
42 ".png" => "image/png",
43 ".jpg" => "image/jpeg",
44 ".jpeg" => "image/jpeg",
45 ".gif" => "image/gif",
46 ".html" => "text/html",
47 ".htm" => "text/html",
48 ".pdf" => "application/pdf",
49 ".swf" => "application/x-shockwave-flash",
50 ".spl" => "application/futuresplash",
51 ".txt" => "text/plain",
52 ".tar.gz" => "application/x-tgz",
53 ".tgz" => "application/x-tgz",
54 ".gz" => "application/x-gzip",
56 ".conf" => "text/plain",
59 compress.cache-dir = env.SRCDIR + "/tmp/lighttpd/cache/compress/"
65 setenv.add-environment = (
68 setenv.add-request-header = (
71 setenv.add-response-header = (
76 fastcgi.server = ( ".php" => (
78 "host" => "127.0.0.1",
83 auth.backend = "plain"
84 auth.backend.plain.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.user"
85 auth.backend.plain.groupfile = "lighttpd.group"
87 auth.backend.ldap.hostname = "localhost"
88 auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
89 auth.backend.ldap.filter = "(uid=$)"
94 "realm" => "download archiv",
95 "require" => "group=www|user=jan|host=192.168.2.10",
99 "realm" => "download archiv",
100 "require" => "user=jan",
102 "/server-config" => (
104 "realm" => "download archiv",
105 "require" => "group=www|user=jan|host=192.168.2.10",
115 "^/redirect/$" => "http://localhost:2048/",
119 "/buggy/" => "access 2 hours",
120 "/asdhas/" => "access plus 1 seconds 2 minutes",
124 status.status-url = "/server-status"
125 status.config-url = "/server-config"
127 simple-vhost.document-root = "pages"
128 simple-vhost.server-root = env.SRCDIR + "/tmp/lighttpd/servers/"
129 simple-vhost.default-host = "www.example.org"
131 $HTTP["host"] == "vvv.example.org" {
132 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
135 $HTTP["host"] == "zzz.example.org" {
136 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
137 server.name = "zzz.example.org"