views:

39

answers:

0

Is it possible to disable Keep-Alive on a directory basis?

For example, I have an API that runs on something like domain.com/api/

It'd be nice if KeepAlive was not used on any requests in the /api/ directory.


Update/Solution:

SetEnvIf Request_URI /api/ nokeepalive

Source: http://httpd.apache.org/docs/2.2/env.html