Name
KeepAlive
Synopsis
KeepAlivenumber
Defaultnumber
: 5 Server config
Chances are that if a user logs on to your site, he will reaccess it
fairly soon. To avoid unnecessary delay, this command keeps the
connection open, but only for number
requests, so that one user does not hog the server. You might want to
increase this from 5 if you have a deep directory structure. Netscape
Navigator 2 has a bug that fouls up keepalives. Apache v1.2 and
higher can detect the use of this browser by looking for
Mozilla/2
in the headers returned by Netscape. If
the BrowserMatch
directive is set (see Chapter 13), the problem disappears.
Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.