Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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:

KeepAliveTimeout 60

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.

share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.