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.
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
> Check the httpd.conf(5) man page for "max request body", which defaults to 1M.
Thx, got it.
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 }
}
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
5 matches
Mail list logo