fixes for apache 2.4