CGIMaxUpload

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 (20MB, decorative underscores optional)

Example

# Double to 50MB
CGIMaxUpload 50000000
This page was last updated on 2011-05-12, 04:56.

2 Notes

In the source of MT-4.31, this is the default:

        'CGIMaxUpload'          => { default => 20_480_000 }

So it looks like it's 20MB, not 1MB.

Leave a note

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.