From cdaae4ee2baa7dfe385caada88a4f8123c2cf012 Mon Sep 17 00:00:00 2001 From: shammash <shammash@autistici.org> Date: Mon, 3 Oct 2011 00:02:20 +0200 Subject: [PATCH] allow getting apc stats only from localhost --- .htaccess | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.htaccess b/.htaccess index 9566a09bf..1f79b511f 100644 --- a/.htaccess +++ b/.htaccess @@ -64,5 +64,11 @@ RewriteRule . index.php [L] # .git doesn't exist RedirectMatch 404 /\\.git(/|$) +# allow gathering stats only from localhost +<Files apc_stats_r2mon.php> +Order Allow,Deny +Allow from 127.0.0.1 +</Files> + # END noblogs -- GitLab