Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 05-25-2007, 11:40 AM   #1
Cyber Fucker
Hmm
 
Cyber Fucker's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: On an endless road around the world for rock and roll.
Posts: 12,642
Blocking unwanted countries

What is the best method for blocking unwanted countries (for example russians) from accessing a site and how to do that? Redirecting certain ip ranges or browsers with their language?
__________________
Cyber Fucker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-25-2007, 11:56 AM   #2
darksoul
Confirmed User
 
darksoul's Avatar
 
Join Date: Apr 2002
Location: /root/
Posts: 4,997
mod_geoip
look into it
__________________
1337 5y54|)m1n: 157717888
BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
Cambooth
darksoul is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-25-2007, 12:02 PM   #3
emjay
Confirmed User
 
emjay's Avatar
 
Join Date: Dec 2004
Location: Back in Blighty
Posts: 4,277
We can send you a geo-ip redirect script.

We can process traffic from Russia, so you might want to consider sending such traffic to one of our consumer facing sites...
__________________
I Run 500+ WhatsApp Groups. The Zuck Owns Me
www.emjayconsultancy.com
emjay is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-25-2007, 12:30 PM   #4
u-Bob
there's no $$$ in porn
 
u-Bob's Avatar
 
Industry Role:
Join Date: Jul 2005
Location: icq: 195./568.-230 (btw: not getting offline msgs)
Posts: 33,063
www.maxmind.com
u-Bob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-25-2007, 12:33 PM   #5
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
All of the above are good resources; as darksoul has mentioned mod_geoip is going to be one of your fastest means to redirect, and it loads directly into Apache, so all you need to do is have someone build it, then setup a 'banned countries' configuration for you.

I have seen stability problems in the past with mod_geoip2 for Apache2, however. It will need to be loaded absolutely last, and does not play well with specific throttling and other handlers.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-25-2007, 01:23 PM   #6
skoalman
Registered User
 
Join Date: Jun 2004
Posts: 94
I put the IP blocks from countries in my .htaccess files and redirect them to a few different sites, depending on what mood I'm in that day. One of my sites, all spammers, and people from IP blocks that I don't want viewing the site, get's redirected to another site that's pop-up hell and spyware hell for all browsers.
__________________

ICQ - 172146397
skoalman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-25-2007, 02:42 PM   #7
Cyber Fucker
Hmm
 
Cyber Fucker's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: On an endless road around the world for rock and roll.
Posts: 12,642
thanks guys!
__________________
Cyber Fucker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-25-2007, 02:44 PM   #8
aico
Moo Moo Cow
 
Join Date: Mar 2004
Location: Washington State
Posts: 14,748
Quote:
Originally Posted by u-Bob View Post
This one works good, and you can get auto updates with it. I use it.
aico is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-25-2007, 02:51 PM   #9
Jakke PNG
ex-TeenGodFather
 
Jakke PNG's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: Suomi Finland Perkele
Posts: 20,306
Remember that if you block say russians, you also block the potential webmasters from seeing the sites/checking galleries and whatnot. I have a few russian affiliates that I know and have worked for a long long time (not all of them are crooks). I bet they don't appreciate it.

...however, if you're planning this for something aside from 'sponsor' sites, like paysites or FHG's.. some apache mod_geoip works wonders.
__________________
..and I'm off.
Jakke PNG is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-25-2007, 03:09 PM   #10
Cyber Fucker
Hmm
 
Cyber Fucker's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: On an endless road around the world for rock and roll.
Posts: 12,642
I will remember that, well this site is targeted only for us customers and other countries couldn't use it anyway so generally I just want to prevent it a bit from stilling my content
__________________
Cyber Fucker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.