From 316e35784af16d38c70464f970f26375cadcc7e9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Thu, 1 Dec 2005 16:02:09 +0000 Subject: [PATCH] - Patch #29344 by Morbus: .htaccess file needs file protection update --- .htaccess | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index 7b49a43e248d..b1aa23e5aa95 100644 --- a/.htaccess +++ b/.htaccess @@ -3,10 +3,10 @@ # # Protect files and directories from prying eyes. -<Files ~ "(\.(inc|module|pl|sh|sql|theme|engine|xtmpl)|Entries|Repositories|Root|scripts|updates)$"> +<FilesMatch "(\.(engine|inc|module|sh|sql|theme|tpl|xtmpl)|code-style\.pl|Entries.*|Repository|Root)$"> Order deny,allow Deny from all -</Files> +</FilesMatch> # Set some options. Options -Indexes -- GitLab