Changing to use IfModule instead of IfVersion
This commit is contained in:
parent
b92dfd6718
commit
993bedc10c
1 changed files with 4 additions and 6 deletions
10
.htaccess
10
.htaccess
|
@ -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>
|
||||
|
|
Reference in a new issue