Hello Hugo,
I need to upload some big files using the web interface. As I understand, the current Hiawatha v7.4 request size limit is 16 Megabyte maximum.
Is that correct? Can I make it more? At least ~200 MB?
Use case 1: - hiawatha.conf:
RequestLimitMask = allow all
MaxRequestSize = 8192
- trying to upload 110 MB file through web interface (Joomla)
Result:
- I'm being kicked
- system.log:
192.168.0.105|Fri 12 Nov 2010 15:57:12 +0100|Maximum request size reached
That works OK, but now I really want to upload the file, so:
Use case 2: - hiawatha.conf:
RequestLimitMask = deny 192.168.0.0/16
- trying to upload 110 MB file through web interface (Joomla)
Result:
- I see the "500 - Internal Server Error" message in the Browser
- access.log:
192.168.0.105|Fri 12 Nov 2010 16:15:13 +0100|500|585||POST /intranet/index.php?option=com_docman&task=doc_update&gid=189&step=3&Itemid=120 HTTP/1.1|Host: server1|User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/10.04 (lucid) Firefox/3.6.12|Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8|Accept-Language: en-us,en;q=0.5|Accept-Encoding: gzip,deflate|Accept-Charset: UTF-8,*|Keep-Alive: 115|Connection: keep-alive|Referer: http://server1/intranet/index.php?option=com_docman&task=doc_update&gid=189&step=2&Itemid=120|Content-Type: multipart/form-data; boundary=---------------------------693237019264601422669564|Content-Length: 112099551
Quickly tried a change in hiawatha.c:
#define NO_REQUEST_LIMIT_SIZE 16 * MEGABYTE
to
#define NO_REQUEST_LIMIT_SIZE 160 * MEGABYTE
but that didn't helped. Got the same result as in use case 2 (error 500).
Any Ideas?
Hiawatha version: 7.4
Operating System: Ubuntu 8.04.3 LTS