Adding support for apache 2.4
This requires mod_version installed, but many distributions ship it by default
This commit is contained in:
parent
c54e336695
commit
b92dfd6718
1 changed files with 8 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Reference in a new issue