What is the best method for blocking certain countries from accessing your sites? Thanks!
Blocking certain countries / IP ranges......
Collapse
X
-
Blocking certain countries / IP ranges......
ISLAND DOLLARS
1000's of Exclusive TS scenes / Constant Updates
Best TS Network your surfers will ever joinTags: None -
countries = ip rangesOriginally posted by The GhostWhat is the best method for blocking certain countries from accessing your sites? Thanks!ISLAND DOLLARS
1000's of Exclusive TS scenes / Constant Updates
Best TS Network your surfers will ever join -
-
Bump for you.
Need Mainstream Content and SEO?
SEO * Website Copy * Blogs
Blogging - PR Work - Forum Marketing - Social Marketing - Link building - Articles
100% Guaranteed Content!
Comment
-
Are you looking to block at a firewall or via .htaccess?
Via .htaccess you can add:
<Limit GET HEAD POST>
order allow,deny
deny from xxx.xxx.xxx.xxx
deny from xxx.xxx.xxx
deny from xxx.xxx
deny from xxx
allow from all
</LIMIT>
To block a specific IP add the whole IP to the deny line. To block a range use a partial IP address.Comment
-
Yea. Just do a country lookup using the above software and do your redirect based on that. It's as easy as something like:Originally posted by u-Bob
Code:include("/other/company/ip_lookup_code.php"); $country = getCountry(); switch($country) { case "UK": header("Location: http://www.badteeth.com;); break; case "JP"; header("Location: http://www.iwannafuckahotjapanesechick.com"); break; ............ }Your post count means nothing.Comment
-
Comment
-
Everyone so far.... thank you for the information.
ISLAND DOLLARS
1000's of Exclusive TS scenes / Constant Updates
Best TS Network your surfers will ever joinComment
-
-
lol.... yeah, they sneak in here every once-in-a-whileOriginally posted by pussyluverDamn a business thread! Thanks for the info, esp the scripting.
ISLAND DOLLARS
1000's of Exclusive TS scenes / Constant Updates
Best TS Network your surfers will ever joinComment



Comment