This html file comes from Rails. It encounters some kind of error (possibly an exception of some type or some other fatal error).
If an extra blank line is added between the Status header and the actual headers, and not just a typo, this will be a long explanation of why Apache reports a 200 OK message.
The status header is how Rails, PHP, or Apache says something. "An error has occurred, please return this code instead of 200 OK." The fact that there is an empty string means that something extra is going on, and Ruby displays the empty string before the error is output for any reason. Perhaps this is the previous result from your script. However, a long and short, extra empty line means that Apache thinks “Oh, empty line, no additional headers, this is all the content now”, which is consistent with the Content-Length header that you specified.
My guess is why the previous script output will be on the empty line, possibly the line ending at the end of the script page. As for why the 500 error occurs, there is not much information to tell you about this. There may be a file I / O error.
Edit: Given the additional information Dave provided about the internal components, I would say that this is actually a problem with proxying that happens behind the scenes ... I could not tell you exactly, though, in addition to what has already been said.
source share