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