Adding support for apache 2.4

This requires mod_version installed, but many distributions ship it by default
This commit is contained in:
Thasan 2015-09-25 23:06:56 +03:00
parent c54e336695
commit b92dfd6718

View file

@ -3,7 +3,14 @@
</IfModule> </IfModule>
<FilesMatch "\.(sqlite|sdb|s3db|db)$"> <FilesMatch "\.(sqlite|sdb|s3db|db)$">
Deny from all # Apache 2.4
<IfVersion >= 2.4>
Require all denied
</IfVersion>
# Apache 2.2
<IfVersion < 2.4>
Deny from all
</IfVersion>
</FilesMatch> </FilesMatch>
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>