Apache KeepAlive关闭被忽略,保持打开状态

Apache KeepAlive关闭被忽略,保持打开状态,apache,keep-alive,Apache,Keep Alive,My site.com.conf已将KeepAlive设置为Off。然而,当我测试一个连接是否保持活动时,我被告知它是活动的 <VirtualHost *:80> ... KeepAlive Off ... </VirtualHost> 我重新启动了Apache 我还尝试直接在apache2.conf中设置它,注释掉默认的KeepAlive On,并在KeepAlive Off中写入 curl -Iv http://thisismysite.co

My site.com.conf已将KeepAlive设置为Off。然而,当我测试一个连接是否保持活动时,我被告知它是活动的

<VirtualHost *:80>
    ...
    KeepAlive Off
    ...
</VirtualHost>
我重新启动了Apache

我还尝试直接在apache2.conf中设置它,注释掉默认的KeepAlive On,并在KeepAlive Off中写入

curl -Iv http://thisismysite.com 2>&1 | grep -i 'connection #0'
* Connection #0 to host thisismysite.com left intact