[doc] remove reference to Linux rt-signals
[lighttpd.git] / tests / bug-06.conf
blob9595f59296e531cdc42cb2970fda77da56d7b467
1 server.document-root         = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
3 ## bind to port (default: 80)
4 server.port                 = 2048
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"
15 server.modules = (
16         "mod_rewrite",
17         "mod_setenv",
18         "mod_access",
19         "mod_auth",
20         "mod_authn_file",
21         "mod_status",
22         "mod_expire",
23         "mod_simple_vhost",
24         "mod_redirect",
25         "mod_fastcgi",
26         "mod_compress",
27         "mod_accesslog",
30 server.indexfiles = (
31         "index.html",
32         "index.htm",
33         "default.htm",
34         "index.php",
37 ######################## MODULE CONFIG ############################
40 accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
42 mimetype.assign = (
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",
56         ".c"    => "text/plain",
57         ".conf" => "text/plain",
60 compress.cache-dir = env.SRCDIR + "/tmp/lighttpd/cache/compress/"
61 compress.filetype = (
62         "text/plain",
63         "text/html",
66 setenv.add-environment = (
67         "TRAC_ENV" => "foo",
69 setenv.add-request-header = (
70         "FOO" => "foo",
72 setenv.add-response-header = (
73         "BAR" => "foo",
76 fastcgi.debug = 0
77 fastcgi.server = ( ".php" => (
78         "grisu" => (
79                 "host" => "127.0.0.1",
80                 "port" => 1026,
81         ),
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=$)"
92 auth.require = (
93         "/server-status" => (
94                 "method"  => "digest",
95                 "realm"   => "download archiv",
96                 "require" => "group=www|user=jan|host=192.168.2.10",
97         ),
98         "/auth.php" => (
99                 "method"  => "basic",
100                 "realm"   => "download archiv",
101                 "require" => "user=jan",
102         ),
103         "/server-config" => (
104                 "method"  => "basic",
105                 "realm"   => "download archiv",
106                 "require" => "group=www|user=jan|host=192.168.2.10",
107         ),
110 url.access-deny = (
111         "~",
112         ".inc",
115 url.redirect = (
116         "^/redirect/$" => "http://localhost:2048/",
119 expire.url = (
120         "/buggy/" => "access 2 hours",
121         "/asdhas/" => "access plus 1 seconds 2 minutes",
124 #### status module
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"