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> </IfModule>
<FilesMatch "\.(sqlite|sdb|s3db|db)$"> <FilesMatch "\.(sqlite|sdb|s3db|db)$">
# Apache 2.4 <IfModule mod_authz_host.c>
<IfVersion >= 2.4>
Require all denied Require all denied
</IfVersion> </IfModule>
# Apache 2.2 <IfModule !mod_authz_host.c>
<IfVersion < 2.4>
Deny from all Deny from all
</IfVersion> </IfModule>
</FilesMatch> </FilesMatch>
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>