https://bz.apache.org/bugzilla/show_bug.cgi?id=66597

--- Comment #12 from dreamt_catsup403 <[email protected]> ---
Created attachment 38562
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38562&action=edit
config files, traces, commands

Hi,

Indeed you are right, it's not happening by default.
It's actually happening only when passing through a mod_rewrite rule.

If I use this vhost configuration:
<VirtualHost *:443>
    ServerAdmin [email protected]
    DocumentRoot /var/www/
    ServerName thisis.atest

    SetEnv proxy-sendcl 1

    <Directory /var/www/api-v1>
        <FilesMatch \.php$>
           SetHandler "proxy:fcgi://127.0.0.1:9000"
        </FilesMatch>
        RewriteEngine On
        RewriteRule ^ index.php [QSA,END]
    </Directory>

   <Proxy fcgi://127.0.0.1:9000>
       ProxySet connectiontimeout=5 timeout=300 keepalive=On enablereuse=Off
max=100 
   </Proxy>
</VirtualHost>

I'm facing the issue only if I use:
curl -k  -v --http2 -H 'Content-Length:' --resolve thisis.atest:443:127.0.0.1
https://thisis.atest/api-v1/something -X POST -d '{thisis:atest}'

with CL it's ok
curl -k  -v --http2  --resolve thisis.atest:443:127.0.0.1
https://thisis.atest/api-v1/something -X POST -d '{thisis:atest}'

And without CL but with full path it's ok
curl -k  -v --http2 -H 'Content-Length:' --resolve thisis.atest:443:127.0.0.1
https://thisis.atest/api-v1/index.php -X POST -d '{thisis:atest}'


I'm attaching configuration, curl commands, and tcpdump.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to