BB’s Blog

优化上传(4):文件大小限制

多用户的Movable Type 一般需要设置下上传文件的大小。 方法: 在mt-config.cgi中添加: # 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. By default this setting is 1000000 (1MB). CGIMaxUpload 700000 你可以根据需要修改文件上传的最大限额。


Posted by bb, February 22, 2007 分类: 改进 Hacks

Comments(0)


(评论须在管理员验证后方可显示)

昵称:

邮箱:

网址:

评论本文(网址\邮箱可不填):