Forum

500 Internal Server Error when uploading a file

John
10 November 2012, 23:52
Hello Hugo,

I am trying to upload a 9382 KB file but i get interval error. Here is my conf file: I increased MaxRequestSize 256 to 12000 and TimeForRequest 10 to 35 but nothing changes. Should i increase more. It is weird not to accept these values they are really high.
# Hiawatha main configuration file
#

# GENERAL SETTINGS
#
ConnectionsTotal = 150
ConnectionsPerIP = 10
SystemLogfile =/log/system.log
GarbageLogfile = /log/garbage.log

# BINDING SETTINGS
#
Binding {
Port = 4389
MaxRequestSize = 12000
TimeForRequest = 35
}

# COMMON GATEWAY INTERFACE (CGI) SETTINGS
#
CGIhandler = /srv/bin/ssi-cgi:shtml
CGIextension = cgi
TimeForCGI = 120

# DEFAULT WEBSITE
#
Hostname = 127.0.0.1
WebsiteRoot = /www
StartFile = index.shtml
AccessLogfile = /log/access.log
ErrorLogfile = /log/error.log
ExploitLogfile =/log/exploit.log
ExecuteCGI = yes


Hiawatha version:
Operating System:
Hugo Leisink
11 November 2012, 00:56
Is PHP willing to accept such a large request?
This topic has been closed.