Made compatable with apache 2.4