[mod_python] in modpython ,how to restrict the upload file size?

Jorey Bump list at joreybump.com
Wed Sep 20 08:18:40 EDT 2006


yjfuk wrote:
> in modpython ,how to restrict the upload file size?

I prefer to do this in the apache config, so it applies to all applications:

# limit size of uploads
# 3MB
LimitRequestBody 3072000

For more info:

 http://httpd.apache.org/docs/2.2/mod/core.html#limitrequestbody


More information about the Mod_python mailing list