FastCGI & POST uploads in Rails



I’ve run into a very strange problem with a Rails app. It seems that the FastCGI handler is not passing POST requests into Rails, but only for multipart forms. Non-multipart forms are working correctly, but multipart forms used to upload jpegs are getting a 301 permanent redirect response, with the original URL as the redirection. Logging inside Rails shows that its RailsFCGIHandler is not being passed the cgi’s for these POST requests.

Is there a configuration parameter somewhere that limits the size of POST requests? I can’t think of anything else that might cause this.

TIA for any help.