OLD | NEW |
1 server.tag = "LightTPD/1.4.19 (Win32)" | 1 server.tag = "LightTPD/1.4.19 (Win32)" |
2 server.modules = ( "mod_accesslog", | 2 server.modules = ( "mod_accesslog", |
3 "mod_alias", | 3 "mod_alias", |
4 "mod_cgi", | 4 "mod_cgi", |
5 "mod_rewrite" ) | 5 "mod_rewrite" ) |
6 | 6 |
7 # default document root required | 7 # default document root required |
8 server.document-root = "." | 8 server.document-root = "." |
9 | 9 |
10 # files to check for if .../ is requested | 10 # files to check for if .../ is requested |
11 index-file.names = ( "index.php", "index.pl", "index.cgi", | 11 index-file.names = ( "index.php", "index.pl", "index.cgi", |
12 "index.html", "index.htm", "default.htm" ) | 12 "index.html", "index.htm", "default.htm" ) |
13 # mimetype mapping | 13 # mimetype mapping |
14 mimetype.assign = ( | 14 mimetype.assign = ( |
| 15 ".bmp" => "image/bmp", |
15 ".gif" => "image/gif", | 16 ".gif" => "image/gif", |
16 ".jpg" => "image/jpeg", | 17 ".jpg" => "image/jpeg", |
17 ".jpeg" => "image/jpeg", | 18 ".jpeg" => "image/jpeg", |
18 ".png" => "image/png", | 19 ".png" => "image/png", |
19 ".svg" => "image/svg+xml", | 20 ".svg" => "image/svg+xml", |
20 ".css" => "text/css", | 21 ".css" => "text/css", |
21 ".html" => "text/html", | 22 ".html" => "text/html", |
22 ".htm" => "text/html", | 23 ".htm" => "text/html", |
23 ".xhtml" => "application/xhtml+xml", | 24 ".xhtml" => "application/xhtml+xml", |
24 ".js" => "application/x-javascript", | 25 ".js" => "application/x-javascript", |
25 ".log" => "text/plain", | 26 ".log" => "text/plain", |
26 ".conf" => "text/plain", | 27 ".conf" => "text/plain", |
27 ".text" => "text/plain", | 28 ".text" => "text/plain", |
28 ".txt" => "text/plain", | 29 ".txt" => "text/plain", |
29 ".dtd" => "text/xml", | 30 ".dtd" => "application/xml-dtd", |
30 ".xml" => "text/xml", | 31 ".xml" => "application/xml", |
31 ".manifest" => "text/cache-manifest", | 32 ".manifest" => "text/cache-manifest", |
32 ) | 33 ) |
33 | 34 |
34 # Use the "Content-Type" extended attribute to obtain mime type if possible | 35 # Use the "Content-Type" extended attribute to obtain mime type if possible |
35 mimetype.use-xattr = "enable" | 36 mimetype.use-xattr = "enable" |
36 | 37 |
37 ## | 38 ## |
38 # which extensions should not be handle via static-file transfer | 39 # which extensions should not be handle via static-file transfer |
39 # | 40 # |
40 # .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi | 41 # .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 mimetype.assign = ( ".txt" => "text/plain; charset=koi8-r" ) | 82 mimetype.assign = ( ".txt" => "text/plain; charset=koi8-r" ) |
82 } | 83 } |
83 | 84 |
84 # LayoutTests/http/tests/appcache/wrong-content-type.html uses an htaccess | 85 # LayoutTests/http/tests/appcache/wrong-content-type.html uses an htaccess |
85 # to override mime type for wrong-content-type.manifest. | 86 # to override mime type for wrong-content-type.manifest. |
86 $HTTP["url"] =~ "^/appcache/resources/wrong-content-type.manifest" { | 87 $HTTP["url"] =~ "^/appcache/resources/wrong-content-type.manifest" { |
87 mimetype.assign = ( ".manifest" => "text/plain" ) | 88 mimetype.assign = ( ".manifest" => "text/plain" ) |
88 } | 89 } |
89 | 90 |
90 # Autogenerated test-specific config follows. | 91 # Autogenerated test-specific config follows. |
OLD | NEW |