Fixed support for Apache 2.2 (tested on 2.2.15)