[Mono-aspnet-list] How to submit 6 MB file with mod_mono
Gonzalo Paniagua Javier
gonzalo.mono at gmail.com
Tue Jul 3 14:34:09 UTC 2012
On Tue, Jul 3, 2012 at 9:41 AM, Andrus <kobruleht2 at hot.ee> wrote:
> Submitting 6 MB file using
>
> <form action="Import" enctype="multipart/form-data" method="post">
> <input name="uploadFile" type="file" />
> <input type="submit" name='invoice' value='Read'´/>
> </form>
>
> fails: apache aborts connection immediately.
>
> web.config contains
>
> <httpRuntime executionTimeout="600" maxRequestLength="14096" />
>
> andin ASP.NET it works.
>
> Using 2.10 and MVC 2 in Debian.
>
> How to submit 6 MB file when suing mod_mono ?
You might need to set the LimitRequestBody directive in Apache to a
value that suits your needs.
http://httpd.apache.org/docs/2.2/mod/core.html#limitrequestbody
-Gonzalo
More information about the Mono-aspnet-list
mailing list