소스 검색

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

squarefractal 10 년 전
부모
커밋
b90260a0e1
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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]