Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save evemilano/fe509f4fcaf6fa6caf5e to your computer and use it in GitHub Desktop.

Select an option

Save evemilano/fe509f4fcaf6fa6caf5e to your computer and use it in GitHub Desktop.
Bloccare il traffico da referrals specifici
#Bloccare il traffico proveniente da certi siti
RewriteEngine on
Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} badsite\.com [NC,OR]
RewriteCond %{HTTP_REFERER} badforum\.com [NC,OR]
RewriteCond %{HTTP_REFERER} badsearchengine\.com [NC]
RewriteRule .* - [F]
@evemilano
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment