Pb Apache ProxyPass 502 503 mod_proxy 100-continue

Voir :

https://stackoverflow.com/questions/3889574/apache-and-mod-proxy-not-handling-http-100-continue-from-client-http-417

https://evertpot.com/http/100-continue/

curl -m5 -X PUT --write-out "http_code=%{http_code}" --data @submit.xml http://127.0.0.1/CTRL/submit?EBu curl -m5 -X PUT --write-out "http_code=%{http_code}" --data @submit.xml http://127.0.0.1:8080/I/submit?EBu

Solution

Solution 1

RequestHeader unset Expect early

/etc/httpd/conf/httpd.conf

LoadModule headers_module modules/mod_headers.so <IfModule mod_headers.c> RequestHeader unset Expect early </IfModule>

Solution 2

<IfVersion >= 2.4.41> Proxy100Continue off </IfVersion>