httpd, SlowCGI, POST_MAX and 413 Payload Too Large

2015-08-25 Thread Torsten
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.

Re: httpd, SlowCGI, POST_MAX and 413 Payload Too Large

2015-08-25 Thread Carlin Bingham
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 apprec

Re: httpd, SlowCGI, POST_MAX and 413 Payload Too Large

2015-08-25 Thread Torsten
> Check the httpd.conf(5) man page for "max request body", which defaults to 1M. Thx, got it.

Re: httpd, SlowCGI, POST_MAX and 413 Payload Too Large

2015-08-28 Thread Tom Murphy
There seems to be an inherit problem with httpd.conf. Say you have two servers: server "foo.net" { listen on egress port 80 root "/foo_net" ... Other options here ... } server "bar.foo.net" { listen on egress port 80 root "/bar_foo_net" connection { max request body 8388608 } }

Re: httpd, SlowCGI, POST_MAX and 413 Payload Too Large

2016-11-27 Thread johnw
I have this inherit problem too. (explain below) Is it possible config "max request" sub domain independence? Thanks. https://marc.info/?l=openbsd-misc&m=144080241519699&w=2 - There seems to be an inherit problem with httpd.co