Thanks Waylan but...
It appears that when I configure Apache to limit the request body, if a
file is uploaded that exceeds the setting, Apache doesn't seem to pass
on anything to mod_python and records an error in error.log. Thus the
view never gets called so there is no opportunity to raise the
Thanks Waylan but...
It appears that when I configure Apache to limit the request body, if a
file is uploaded that exceeds the setting, Apache doesn't seem to pass
on anything to mod_python and records an error in error.log. Thus the
view never gets called so there is no opportunity to raise the
Paul Childs wrote:
> It looks like I am going down the wrong path. I think that what I
> observed was by design since Django is handling the request.
>
> I think the question should be...
>
> How do I handle the 413 error within Django?
>
> Any help would be greatly appreciated.
>
>
You'll like
It looks like I am going down the wrong path. I think that what I
observed was by design since Django is handling the request.
I think the question should be...
How do I handle the 413 error within Django?
Any help would be greatly appreciated.
--~--~-~--~~~---~--~
Sorry if this is a tad off topic...
I have Django 0.95 up and running with no problems under Apache2 with
flatpages installed and also running fine.
I have limited uploads by adding the setting LimitRequestBody 5242880
to the httpd.conf file, which works great. If I try to upload a large
file I
5 matches
Mail list logo