only deny files ending in ~

This commit is contained in:
Tobias Diekershoff 2022-03-16 19:54:43 +01:00
parent cd7b9177ea
commit 77cb9405be
No known key found for this signature in database
GPG Key ID: 25FE376FF17694A1

View File

@ -19,7 +19,7 @@ AddType audio/ogg .oga
</FilesMatch>
# deny access to backup files
<FilesMatch "(~|\.bak|\.swp)$">
<FilesMatch "(\~|\.bak|\.swp)$">
<IfModule authz_host_module>
#Apache 2.4
Require all denied