On Tue, 25 Aug 2015, at 12:48 AM, Torsten wrote: > Hi! > > OpenBSD 5.7, httpd, slowcgi > > upload.pl CGI: > > # [...] > $CGI::POST_MAX = 1024 * 1024 * 20; #20MB > # [...] > > But when I try to upload a file I get "413 Payload Too Large" if the > file is larger than 1MB. > > Help will be appreciated! > > T. >
Check the httpd.conf(5) man page for "max request body", which defaults to 1M. -- Carlin