> Can you show your whole httpd.conf please?
Sure:
server "default" {
listen on * port 80
connection max request body 8388608
location "/cgi-bin/*" {
fastcgi
root "/"
}
location "*.php" {
fastcgi socket "/run/php-fpm.sock"
}
}
> Are you using a subdomain like foo.example.com?
No.
So far, directly with the IP address.
> There is a known bug were this directive needs to be added earlier on the
> main domain to be applied/passed through to the subdomain.
I tried to put this directive
connection max request body 8388608
on top of httpd.conf, then I restarted httpd, and it did not change anything.
Thank you very much for your help.
On Fri, 29 Apr 2016 15:58:27 +0200
Joerg Jung <[email protected]> wrote:
> On 29 Apr 2016, at 15:29, Romain <[email protected]> wrote:
>
> Dear All,
>
> I use OpenBSD 5.8, and the httpd & php & sqlite3 which are provided with.
> ($ uname -a => OpenBSD xxxxxx.my.domain 5.8 GENERIC#1170 amd64)
>
> I have a problem with the length of a POST request with seems to be limited
> to 6588 (more or less) characters.
> (I use a simple html form with a hidden input which has many characters.)
>
> I tried with lighttpd + php + sqlite3 and it works without this problem.
>
> I tried to add this line to httpd.conf:
> connection max request body 8388608
Can you show your whole httpd.conf please?
Are you using a subdomain like foo.example.com?
There is a known bug were this directive needs to be added
earlier on the main domain to be applied/passed through to the subdomain.
> And then I restarted httpd.
> But it did not solve to the problem.
>
> And now I do not know what to do.
>
> Thanks for your help.
>
> Best,
> Romain