Merge pull request #63 from squarefractal/htaccess-work

Add a (disabled by default) .htaccess file to block out robots and other link scanning agents.
This commit is contained in:
El RIDO 2016-02-17 12:23:50 +01:00
commit 9593ba7039
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]