Make sure condition is in <IfVersion

FossilOrigin-Name: 0c0e77be779e2290e65e81ca31bdc4ce5006a3061e02a771f431497ed5e7db3c
This commit is contained in:
bohwaz 2025-03-09 15:48:24 +00:00
commit d6b1a15f20

View file

@ -1,8 +1,12 @@
DirectoryIndex disabled
# Force Apache to pass the Authorization header to PHP
# See https://github.com/kd2org/picodav/issues/14
CGIPassAuth On
<IfModule mod_version.c>
<IfVersion >= 2.4.13>
# Force Apache to pass the Authorization header to PHP
# See https://github.com/kd2org/picodav/issues/14
CGIPassAuth On
</IfVersion>
</IfModule>
RedirectMatch 404 \.picodav\.ini