changeset 90:5d6111879862 puppet-3.6

Extend blocked files to include backup files
author IBBoard <dev@ibboard.co.uk>
date Sat, 16 Jan 2016 10:59:56 +0000
parents a2d6032c6811
children 61a79ae833cb
files modules/website/files/zzz-custom.conf
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/website/files/zzz-custom.conf	Sun Jan 10 20:24:22 2016 +0000
+++ b/modules/website/files/zzz-custom.conf	Sat Jan 16 10:59:56 2016 +0000
@@ -64,7 +64,7 @@
         Require all granted
     </IfVersion>
 </Location>
-<FilesMatch ^\.>
+<FilesMatch "^((\.|~).*|.*(\.(dist|save|swo|swp|php_backup)|~)|backup\..*\.php)$">
     <IfVersion < 2.4>
         Order Allow,Deny
         Deny from all