Created
January 27, 2015 13:34
-
-
Save evemilano/fe509f4fcaf6fa6caf5e to your computer and use it in GitHub Desktop.
Bloccare il traffico da referrals specifici
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #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] |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Articolo: https://www.evemilano.com/2014/10/esempi-mod-rewrite-htaccess-apache/