In Apache 2.4.4, I am trying to use a different KeepAliveTimeout configuration in different named virtual servers. But looks like the global server KeepAliveTimeout is used everywhere.
Documentation has an interesting remark:
In a name-based virtual host context, the value of the first defined virtual host best matching the local IP and port will be used.
I have tried to run my virtualhost in a different IP/port, with no effect:
Listen 127.0.0.2:11180 <VirtualHost 127.0.0.2:11180> ... KeepAliveTimeout 60 ... </VirtualHost>
The virtual server is getting the 5 seconds timeout yet, as defined in globally.
PS: I am trying to do this because some virtual hosts are accessed via a proxy, and I want persistent connections with long timeouts.