From 7be93891e441d28966e096b052b1b90962bb25a4 Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Sun, 24 Nov 2024 10:22:46 +0100 Subject: [PATCH] Update website --- .htaccess | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.htaccess b/.htaccess index 8d9c5f1..052ab2a 100644 --- a/.htaccess +++ b/.htaccess @@ -1,13 +1,4 @@ # Deny access to .git directory - - RewriteEngine On - RewriteRule ^(.*/)?\.git/ - [F,L] - RewriteRule ^(.*/)?\composer\.(.*) - [F,L] - - -# Alternatively, you can use the following directive to deny access - - Order allow,deny - Deny from all - - +RewriteEngine On +RewriteRule ^(.*/)?\.git/ - [F,L] +RewriteRule ^(.*/)?\composer\.(.*) - [F,L]