![]() |
the commies are stealing my BW
I keep getting hotlinked by chinese servers... I've spent probably 20 hours blocking sites individually and i'm tired of it! Is there a htaccess or other easy solution to blocking all traffic incoming from china?
D |
what, nobody?
|
Here is an .htaccess file that I use. This should fix your problems with hotlinkers. Be sure to change the XXX.XXX.XXX.XXX to your IP address and domain.com to your own domain name.
Code:
RewriteEngine on |
Quote:
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^CN RewriteRule ^/*$ /blocked.html [PT,L] </IfModule> The syntax may not be accurate....poor memory. Regards, --A |
All times are GMT -7. The time now is 05:53 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123