From b90260a0e152359f654781c504f2e2e86f5b31f4 Mon Sep 17 00:00:00 2001 From: squarefractal Date: Tue, 16 Feb 2016 17:36:28 +0530 Subject: [PATCH] Add a (disabled by default) .htaccess file to block out robots and other link scanning agents. --- .htaccess.disabled | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .htaccess.disabled diff --git a/.htaccess.disabled b/.htaccess.disabled new file mode 100644 index 0000000..1f5af9f --- /dev/null +++ b/.htaccess.disabled @@ -0,0 +1,3 @@ +RewriteEngine on +RewriteCond %{HTTP_USER_AGENT} ^.*(bot|spider|crawl|https?://|WhatsApp|SkypeUriPreview) [NC] +RewriteRule .* - [R=403,L]