Explorar o código

Merge pull request #63 from squarefractal/htaccess-work

Add a (disabled by default) .htaccess file to block out robots and other link scanning agents.
El RIDO %!s(int64=10) %!d(string=hai) anos
pai
achega
9593ba7039
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      .htaccess.disabled

+ 3 - 0
.htaccess.disabled

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