Changing to use IfModule instead of IfVersion

This commit is contained in:
Thasan 2015-09-27 22:48:30 +03:00
parent b92dfd6718
commit 993bedc10c

View file

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