Sfoglia il codice sorgente

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

squarefractal 10 anni fa
parent
commit
b90260a0e1
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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]