Skip to content

Instantly share code, notes, and snippets.

@krohn
Created September 17, 2014 10:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save krohn/00ea01e56588823da52f to your computer and use it in GitHub Desktop.
Save krohn/00ea01e56588823da52f to your computer and use it in GitHub Desktop.
block humans.txt scans
# block humans.txt scans
# http://perishablepress.com/protect-against-humans-txt-query-string-scans/
<IfModule mod_rewrite.c>
RewriteCond %{QUERY_STRING} http\:\/\/www\.google\.com\/humans\.txt\? [NC]
RewriteRule .* - [F,L]
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment