Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added fix for upload problems with lighttpd from Safari/IE to config/…

…lighttpd.conf (closes #3999) [thijs@fngtps.com]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3743 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 7864d0e0120f8c7b592056ecce171c369cb1e94b 1 parent b0245a5
@dhh dhh authored
Showing with 8 additions and 0 deletions.
  1. +2 −0  railties/CHANGELOG
  2. +6 −0 railties/configs/lighttpd.conf
View
2  railties/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Added fix for upload problems with lighttpd from Safari/IE to config/lighttpd.conf #3999 [thijs@fngtps.com]
+
* Added test:uncommitted to test changes since last checkin to Subversion #4035 [technomancy@gmail.com]
* Help script/about print the correct svn revision when in a non-English locale. #4026 [babie7a0@ybb.ne.jp]
View
6 railties/configs/lighttpd.conf
@@ -38,3 +38,9 @@ mimetype.assign = (
".swf" => "application/x-shockwave-flash",
".txt" => "text/plain"
)
+
+# Making sure file uploads above 64k always work when using IE or Safari
+# Form more information, see http://trac.lighttpd.net/trac/ticket/360
+$HTTP["useragent"] =~ "^(.*MSIE.*)|(.*AppleWebKit.*)$" {
+ server.max-keep-alive-requests = 0
+}
Please sign in to comment.
Something went wrong with that request. Please try again.