| 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 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 #ssl.engine = "enable" | 58 #ssl.engine = "enable" |
| 59 #ssl.pemfile = "server.pem" | 59 #ssl.pemfile = "server.pem" |
| 60 | 60 |
| 61 # Rewrite rule for utf-8 path test (LayoutTests/http/tests/uri/utf8-path.html) | 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 | 62 # See the apache rewrite rule at LayoutTests/http/tests/uri/intercept/.htaccess |
| 63 # Rewrite rule for LayoutTests/http/tests/appcache/cyrillic-uri.html. | 63 # Rewrite rule for LayoutTests/http/tests/appcache/cyrillic-uri.html. |
| 64 # See the apache rewrite rule at | 64 # See the apache rewrite rule at |
| 65 # LayoutTests/http/tests/appcache/resources/intercept/.htaccess | 65 # LayoutTests/http/tests/appcache/resources/intercept/.htaccess |
| 66 url.rewrite-once = ( | 66 url.rewrite-once = ( |
| 67 "^/uri/intercept/(.*)" => "/uri/resources/print-uri.php", | 67 "^/uri/intercept/(.*)" => "/uri/resources/print-uri.php", |
| 68 "^/appcache/resources/intercept/(.*)" => "/appcache/resources/print-uri.php" | 68 "^/appcache/resources/intercept/(.*)" => "/appcache/resources/print-uri.php", |
| 69 "^/security/xssAuditor/intercept/([^/]*)/(.*)" => "/security/xssAuditor/resour
ces/$1?q=$2" |
| 69 ) | 70 ) |
| 70 | 71 |
| 71 # LayoutTests/http/tests/xmlhttprequest/response-encoding.html uses an htaccess | 72 # LayoutTests/http/tests/xmlhttprequest/response-encoding.html uses an htaccess |
| 72 # to override charset for reply2.txt, reply2.xml, and reply4.txt. | 73 # to override charset for reply2.txt, reply2.xml, and reply4.txt. |
| 73 $HTTP["url"] =~ "^/xmlhttprequest/resources/reply2.(txt|xml)" { | 74 $HTTP["url"] =~ "^/xmlhttprequest/resources/reply2.(txt|xml)" { |
| 74 mimetype.assign = ( | 75 mimetype.assign = ( |
| 75 ".txt" => "text/plain; charset=windows-1251", | 76 ".txt" => "text/plain; charset=windows-1251", |
| 76 ".xml" => "text/xml; charset=windows-1251" | 77 ".xml" => "text/xml; charset=windows-1251" |
| 77 ) | 78 ) |
| 78 } | 79 } |
| 79 $HTTP["url"] =~ "^/xmlhttprequest/resources/reply4.txt" { | 80 $HTTP["url"] =~ "^/xmlhttprequest/resources/reply4.txt" { |
| 80 mimetype.assign = ( ".txt" => "text/plain; charset=koi8-r" ) | 81 mimetype.assign = ( ".txt" => "text/plain; charset=koi8-r" ) |
| 81 } | 82 } |
| 82 | 83 |
| 83 # LayoutTests/http/tests/appcache/wrong-content-type.html uses an htaccess | 84 # LayoutTests/http/tests/appcache/wrong-content-type.html uses an htaccess |
| 84 # to override mime type for wrong-content-type.manifest. | 85 # to override mime type for wrong-content-type.manifest. |
| 85 $HTTP["url"] =~ "^/appcache/resources/wrong-content-type.manifest" { | 86 $HTTP["url"] =~ "^/appcache/resources/wrong-content-type.manifest" { |
| 86 mimetype.assign = ( ".manifest" => "text/plain" ) | 87 mimetype.assign = ( ".manifest" => "text/plain" ) |
| 87 } | 88 } |
| 88 | 89 |
| 89 # Autogenerated test-specific config follows. | 90 # Autogenerated test-specific config follows. |
| OLD | NEW |