Properly fix support for Apache 2.2 and 2.4

refs #6770