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>
|
</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>
|
||||||
|
|
Reference in a new issue