I'm currently experiencing an issue on a Flask web app running on Windows IIS whereby uploading a file with size greater than around 120kb through the app results in a '500 Internal Server Error'. Any files that are smaller than this seem to work just fine. Does anybody have any suggestions as to what may be causing this?
I've checked the "maxRequestEntityAllowed" and "uploadReadAheadSize" settings in the IIS Configuration Editor and these are set appropriately (i.e. not limiting the file size excessively).
I read about the "FcgidMaxRequestLen Directive" here and wondered if this might be the issue. It sounds about right as I'm using FastCGI (wfastcgi) and the ~130kb limit sounds there or thereabouts. I don't know how I'd go about changing this setting, though.
So, my questions are as follows:
- Am I likely on the right track RE: FastCGI being the problem?
- Can anybody suggest a solution to resolve this? Perhaps a way of configuring "FcgidMaxRequestLen" on IIS to allow larger file uploads?
Thanks in advance for your help. It'll be nice to get this one resolved!