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"
37 ######################## MODULE CONFIG ############################
40 accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
43 ".png" => "image/png",
44 ".jpg" => "image/jpeg",
45 ".jpeg" => "image/jpeg",
46 ".gif" => "image/gif",
47 ".html" => "text/html",
48 ".htm" => "text/html",
49 ".pdf" => "application/pdf",
50 ".swf" => "application/x-shockwave-flash",
51 ".spl" => "application/futuresplash",
52 ".txt" => "text/plain",
53 ".tar.gz" => "application/x-tgz",
54 ".tgz" => "application/x-tgz",
55 ".gz" => "application/x-gzip",
57 ".conf" => "text/plain",
60 compress.cache-dir = env.SRCDIR + "/tmp/lighttpd/cache/compress/"
66 setenv.add-environment = (
69 setenv.add-request-header = (
72 setenv.add-response-header = (
77 fastcgi.server = ( ".php" => (
79 "host" => "127.0.0.1",
84 auth.backend = "plain"
85 auth.backend.plain.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.user"
86 auth.backend.plain.groupfile = "lighttpd.group"
88 #auth.backend.ldap.hostname = "localhost"
89 #auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
90 #auth.backend.ldap.filter = "(uid=$)"
95 "realm" => "download archiv",
96 "require" => "group=www|user=jan|host=192.168.2.10",
100 "realm" => "download archiv",
101 "require" => "user=jan",
103 "/server-config" => (
105 "realm" => "download archiv",
106 "require" => "group=www|user=jan|host=192.168.2.10",
116 "^/redirect/$" => "http://localhost:2048/",
120 "/buggy/" => "access 2 hours",
121 "/asdhas/" => "access plus 1 seconds 2 minutes",
125 status.status-url = "/server-status"
126 status.config-url = "/server-config"
128 simple-vhost.document-root = "pages"
129 simple-vhost.server-root = env.SRCDIR + "/tmp/lighttpd/servers/"
130 simple-vhost.default-host = "www.example.org"
132 $HTTP["host"] == "vvv.example.org" {
133 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
136 $HTTP["host"] == "zzz.example.org" {
137 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
138 server.name = "zzz.example.org"