From fbfb8281fb95a621f9c248579e3aaa147b8fc0e4 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Thu, 1 Jun 2000 13:33:19 +0000 Subject: [PATCH] * The CVS directories (automatically created by the CVS repository) can no longer be accessed from the web. Let's keep lurking eyes out. ;) * I'm still idling (except for these kind of tidbits) until Natrak commited the new user system. *evil grin* --- .htaccess | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.htaccess b/.htaccess index f9d846ddcc26..7e0d99a94c71 100644 --- a/.htaccess +++ b/.htaccess @@ -15,6 +15,12 @@ deny from all </Files> +# Protect CVS directories: +<Files *CVS> + order deny,allow + deny from all +</Files> + # Customized server error messages: ErrorDocument 400 /error.php ErrorDocument 402 /error.php -- GitLab