The value of LimitRequestBody can be between 0 bytes (meaning unlimited) to 2147483647 (2GB).
For example,if we want to limit upload size to 100k for /srv/www/htdocs/uploads, we need to add below commands to .htaccess or httpd.conf.
<Directory "/srv/www/htdocs/uploads">This directive gives the server administrator greater control over abnormal client request behavior, which may be useful for avoiding some forms of denial-of-service attacks.
LimitRequestBody 102400
</Directory>
0 comments:
Post a Comment