CGIMaxUpload
This is documentation about a configuration directive, which can be placed within Movable Type’s core configuration file, mt-config.cgi
, to customize the behavior of the system.
When uploading files through Movable Type’s upload mechanism, a ceiling is put on the size of the files that can be uploaded, to prevent denial of service attacks.
Default value: 20_480_000
(approximately 20MB, decorative underscores not supported in mt-config.cgi)
Example
# Double to approximately 50MB
CGIMaxUpload 50000000
Error
If a user attempts to upload a file larger than the CGIMaxUpload
limit but still less than any limit opposed by the web server itself, MT will display this error:
The file you uploaded is too large.