From e1f76af0068bd2cf5ce4a4203b7727d5b3111c04 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 11 Apr 2013 22:01:02 +0400 Subject: block listing of several util directories; deny access to config.php --- .htaccess | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .htaccess (limited to '.htaccess') diff --git a/.htaccess b/.htaccess new file mode 100644 index 000000000..ed58470d4 --- /dev/null +++ b/.htaccess @@ -0,0 +1,7 @@ +AddType image/svg+xml svg +AddType image/svg+xml svgz + + + Order deny,allow + Deny from all + -- cgit v1.2.3 From 5e725f9c8cde3d283ff15bc7e2d75d69b0cfb193 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 12 Apr 2013 07:58:10 +0400 Subject: having idiots report error 500 because their server is misconfigured is worse than having config.php wide open in case their php is not working --- .htaccess | 4 ---- 1 file changed, 4 deletions(-) (limited to '.htaccess') diff --git a/.htaccess b/.htaccess index ed58470d4..22b33f000 100644 --- a/.htaccess +++ b/.htaccess @@ -1,7 +1,3 @@ AddType image/svg+xml svg AddType image/svg+xml svgz - - Order deny,allow - Deny from all - -- cgit v1.2.3