## KeepAlive

Syntax: (Apache 1.1) KeepAlive max-requests
Default: (Apache 1.1) `KeepAlive 5`
Syntax: (Apache 1.2) KeepAlive on/off
Default: (Apache 1.2) `KeepAlive On`
Context: server config
Status: Core
Compatibility: KeepAlive is only available in Apache 1.1 and later.

This directive enables Keep-Alive support.

Apache 1.1: Set max-requests to the maximum number of requests you want Apache to entertain per request. A limit is imposed to prevent a client from hogging your server resources. Set this to `0` to disable support.

Apache 1.2 and later: Set to "On" to enable persistent connections, "Off" to disable. See also the MaxKeepAliveRequests directive.