From: Brian Takita Date: 2006-07-26T16:25:56+09:00 Subject: Mongrel Patch - Fixes 404 Error in IE ------=_Part_157421_6812587.1153898752010 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, Using Mongrel has been great. Thank you Zed for developing such a fine piece of software. For some reason, when using IE to access a Rails app running on a Mongrel server, I get a 404 error. This is an intermittent error and does not happen on all machines. Upon further investigation, we noticed that IE sends a GET http://localhost:3000/path/to/file instead of GET /path/to/file This causes Mongrel to send back a 404, without sending the request to Rails. It seems the GET http://localhost:3000/path/to/file does not map to the proper handler. We looked in the RFC (section 5.2), http://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html, and it seems to indicate that the web server should ignore the host part of an absolute uri in the GET request. Am I correct on this? I created a bug report at http://rubyforge.org/tracker/index.php?func=detail&aid=5053&group_id=1306&atid=5145 and a patch to fix it at http://rubyforge.org/tracker/index.php?func=detail&aid=5190&group_id=1306&atid=5147 Has this been an issue for anybody else? Zed or anybody on the Mongrel core team, if you see this, please take a look at the patch. http://rubyforge.org/tracker/index.php?func=detail&aid=5190&group_id=1306&atid=5147 Thanks, Brian Takita ------=_Part_157421_6812587.1153898752010--