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 error in
the view.

It seems that mod_python interferes with the mechanism that Apache uses
when one configures the ErrorDocument setting. The user gets a message
from the browser saying that the connection was dropped.

Does anyone know how to get hold of this error message so that a *nice*
message can be sent to the user? Are there any other options?


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to