Up to 5.0.7
Revert "migrated to apache 2.4"

This reverts commit fc9336bdb9c269f029acb83b52110adb74945437.
Apache 2.2/2.4 compatible config