Re: Apache ErrorDocument Question.

2006-12-04 Thread Paul Childs
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

Re: Apache ErrorDocument Question.

2006-12-04 Thread Paul Childs
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

Re: Apache ErrorDocument Question.

2006-12-01 Thread Waylan Limberg
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

Re: Apache ErrorDocument Question.

2006-12-01 Thread Paul Childs
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. --~--~-~--~~~---~--~

Apache ErrorDocument Question.

2006-12-01 Thread Paul Childs
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