[doc] remove reference to Linux rt-signals
[lighttpd.git] / tests / lowercase.conf
blob27be74082700805e8deb280c0a43654d3dbfd0a1
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"
11 server.force-lowercase-filenames = "enable"
13 server.dir-listing          = "enable"
15 server.modules = (
16         "mod_rewrite",
17         "mod_setenv",
18         "mod_secdownload",
19         "mod_access",
20         "mod_auth",
21         "mod_authn_file",
22         "mod_status",
23         "mod_expire",
24         "mod_redirect",
25         "mod_fastcgi",
26         "mod_cgi",
29 server.indexfiles = (
30         "index.php",
31         "index.html",
32         "index.htm",
33         "default.htm",
37 ######################## MODULE CONFIG ############################
39 mimetype.assign = (
40         ".png"  => "image/png",
41         ".jpg"  => "image/jpeg",
42         ".jpeg" => "image/jpeg",
43         ".gif"  => "image/gif",
44         ".html" => "text/html",
45         ".htm"  => "text/html",
46         ".pdf"  => "application/pdf",
47         ".swf"  => "application/x-shockwave-flash",
48         ".spl"  => "application/futuresplash",
49         ".txt"  => "text/plain",
50         ".tar.gz" =>   "application/x-tgz",
51         ".tgz"  => "application/x-tgz",
52         ".gz"   => "application/x-gzip",
53         ".c"    => "text/plain",
54         ".conf" => "text/plain",
57 fastcgi.debug = 0
58 fastcgi.server = (
59         ".php" => ( (
60                         "host" => "127.0.0.1",
61                         "port" => 1026,
62                         "broken-scriptfilename" => "enable",
63         ) ),
64         "/prefix.fcgi" => ( (
65                 "host" => "127.0.0.1",
66                 "port" => 1026,
67                 "check-local" => "disable",
68                 "broken-scriptfilename" => "enable",
69         ) ),
72 cgi.assign = (
73         ".pl"  => env.PERL,
74         ".cgi" => env.PERL,
77 auth.backend = "plain"
78 auth.backend.plain.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.user"
80 auth.backend.htpasswd.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.htpasswd"
82 $HTTP["host"] == "lowercase-auth" {
83         auth.require = (
84                 "/image.jpg" => (
85                         "method"  => "digest",
86                         "realm"   => "download archiv",
87                         "require" => "valid-user",
88                 ),
89         )
92 $HTTP["host"] == "lowercase-deny" {
93         url.access-deny = (
94                 ".jpg",
95         )
98 $HTTP["host"] == "lowercase-exclude" {
99         static-file.exclude-extensions = (
100                 ".jpg",
101         )