Add a (disabled by default) .htaccess file to block out robots and other link scanning agents.

pull/17/head
squarefractal 2016-02-16 17:36:28 +05:30
parent 59d2b6f9fc
commit b90260a0e1
1 changed files with 3 additions and 0 deletions

3
.htaccess.disabled Normal file
View File

@ -0,0 +1,3 @@
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^.*(bot|spider|crawl|https?://|WhatsApp|SkypeUriPreview) [NC]
RewriteRule .* - [R=403,L]