KeepAlive is just available in 'server config'. It means you can set it just in the global server configurations, it is usually in /etc/httpd/conf/httpd.conf or /etc/apache2/...
Look to the documentation, there is ever explanation what are available locations for each configuration parameter.