| 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 ".gif" => "image/gif", | 15 ".gif" => "image/gif", |
| 16 ".jpg" => "image/jpeg", | 16 ".jpg" => "image/jpeg", |
| 17 ".jpeg" => "image/jpeg", | 17 ".jpeg" => "image/jpeg", |
| 18 ".png" => "image/png", | 18 ".png" => "image/png", |
| 19 ".svg" => "image/svg+xml", |
| 19 ".css" => "text/css", | 20 ".css" => "text/css", |
| 20 ".html" => "text/html", | 21 ".html" => "text/html", |
| 21 ".htm" => "text/html", | 22 ".htm" => "text/html", |
| 22 ".xhtml" => "application/xhtml+xml", | 23 ".xhtml" => "application/xhtml+xml", |
| 23 ".js" => "text/javascript", | 24 ".js" => "text/javascript", |
| 24 ".log" => "text/plain", | 25 ".log" => "text/plain", |
| 25 ".conf" => "text/plain", | 26 ".conf" => "text/plain", |
| 26 ".text" => "text/plain", | 27 ".text" => "text/plain", |
| 27 ".txt" => "text/plain", | 28 ".txt" => "text/plain", |
| 28 ".dtd" => "text/xml", | 29 ".dtd" => "text/xml", |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 mimetype.assign = ( | 67 mimetype.assign = ( |
| 67 ".txt" => "text/plain; charset=windows-1251", | 68 ".txt" => "text/plain; charset=windows-1251", |
| 68 ".xml" => "text/xml; charset=windows-1251" | 69 ".xml" => "text/xml; charset=windows-1251" |
| 69 ) | 70 ) |
| 70 } | 71 } |
| 71 $HTTP["url"] =~ "^/xmlhttprequest/resources/reply4.txt" { | 72 $HTTP["url"] =~ "^/xmlhttprequest/resources/reply4.txt" { |
| 72 mimetype.assign = ( ".txt" => "text/plain; charset=koi8-r" ) | 73 mimetype.assign = ( ".txt" => "text/plain; charset=koi8-r" ) |
| 73 } | 74 } |
| 74 | 75 |
| 75 # Autogenerated test-specific config follows. | 76 # Autogenerated test-specific config follows. |
| OLD | NEW |