[pmwiki-users] file is larger than maximum allowed by webserver
Joachim Durchholz
jo at durchholz.org
Fri May 13 11:32:57 CDT 2005
Richard Geoffrion wrote:
> Those are the only two/tree locations I can see that affect uploading.
> Are there more?
Yes. The error message is referring to the web server side of things,
i.e. Xitami/IIS/Apache/whatever.
Assuming you're using Apache, take a look at the LimitRequestBody
directive (http://httpd.apache.org/docs/mod/core.html#limitrequestbody).
You'd probably want to raise the maximum size only for the PUT method,
and only in the uploads directory, so you'd probably want to write
something like
<Directory /path/for/uploads>
<Limit PUT>
LimitRequestBody 16000000
</Limit>
</Directory>
either in .htaccess (in that case, you can omit the <Directory> wrapper)
or in httpd.conf.
Regards,
Jo
More information about the pmwiki-users
mailing list