From 1810cb822d6bcdc12d3106d304d5efa8c9a04834 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Mon, 19 Jan 2015 14:11:06 +0000 Subject: [PATCH] Secure framework and application.ini --- .htaccess | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.htaccess b/.htaccess index 8bd702a..7ebd68c 100644 --- a/.htaccess +++ b/.htaccess @@ -27,6 +27,8 @@ # Redirection to www. subdomain RewriteCond %{HTTP_HOST} ^ccgm.fr$ RewriteRule ^(.*)$ http://www.ccgm.fr/$1 [R=301,L] + # Protect framework + RewriteRule ^framework/.*$ - [F] # Redirect auth header to env RewriteRule ^.*$ - [E=REMOTE_USER:%{HTTP:Authorization}] # Skip static files -- 2.39.5