Fixed to work for SimpleSAMLphp and Apache 2.4