1 server.tag = "LightTPD/1.4.19 (Win32)"
2 server.modules = ( "mod_accesslog",
7 # default document root required
8 server.document-root = "."
10 # files to check for if .../ is requested
11 index-file.names = ( "index.php", "index.pl", "index.cgi",
12 "index.html", "index.htm", "default.htm" )
15 ".gif" => "image/gif",
16 ".jpg" => "image/jpeg",
17 ".jpeg" => "image/jpeg",
18 ".png" => "image/png",
19 ".svg" => "image/svg+xml",
21 ".html" => "text/html",
22 ".htm" => "text/html",
23 ".xhtml" => "application/xhtml+xml",
24 ".js" => "application/x-javascript",
25 ".log" => "text/plain",
26 ".conf" => "text/plain",
27 ".text" => "text/plain",
28 ".txt" => "text/plain",
31 ".manifest" => "text/cache-manifest",
34 # Use the "Content-Type" extended attribute to obtain mime type if possible
35 mimetype.use-xattr = "enable"
38 # which extensions should not be handle via static-file transfer
40 # .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi
41 static-file.exclude-extensions = ( ".php", ".pl", ".cgi" )
43 server.bind = "localhost"
46 ## virtual directory listings
47 dir-listing.activate = "enable"
48 #dir-listing.encoding = "iso-8859-2"
49 #dir-listing.external-css = "style/oldstyle.css"
52 #debug.log-request-header = "enable"
53 #debug.log-response-header = "enable"
54 #debug.log-request-handling = "enable"
55 #debug.log-file-not-found = "enable"
58 #ssl.engine = "enable"
59 #ssl.pemfile = "server.pem"
61 # Rewrite rule for utf-8 path test (LayoutTests/http/tests/uri/utf8-path.html)
62 # See the apache rewrite rule at LayoutTests/http/tests/uri/intercept/.htaccess
63 # Rewrite rule for LayoutTests/http/tests/appcache/cyrillic-uri.html.
64 # See the apache rewrite rule at
65 # LayoutTests/http/tests/appcache/resources/intercept/.htaccess
67 "^/uri/intercept/(.*)" => "/uri/resources/print-uri.php",
68 "^/appcache/resources/intercept/(.*)" => "/appcache/resources/print-uri.php",
69 "^/security/xssAuditor/intercept/([^/]*)/(.*)" => "/security/xssAuditor/resources/$1?q=$2"
72 # LayoutTests/http/tests/xmlhttprequest/response-encoding.html uses an htaccess
73 # to override charset for reply2.txt, reply2.xml, and reply4.txt.
74 $HTTP["url"] =~ "^/xmlhttprequest/resources/reply2.(txt|xml)" {
76 ".txt" => "text/plain; charset=windows-1251",
77 ".xml" => "text/xml; charset=windows-1251"
80 $HTTP["url"] =~ "^/xmlhttprequest/resources/reply4.txt" {
81 mimetype.assign = ( ".txt" => "text/plain; charset=koi8-r" )
84 # LayoutTests/http/tests/appcache/wrong-content-type.html uses an htaccess
85 # to override mime type for wrong-content-type.manifest.
86 $HTTP["url"] =~ "^/appcache/resources/wrong-content-type.manifest" {
87 mimetype.assign = ( ".manifest" => "text/plain" )
90 # Autogenerated test-specific config follows.