Revert "- migrated to apache 2.4"

This reverts commit 5938fae8979a1dac9b1103a36f63ea35106c1fc2.
multi apache version support