GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   How do you block a whole country from your servers? (https://gfy.com/showthread.php?t=335284)

clickhappy 08-02-2004 07:18 PM

How do you block a whole country from your servers?
 
say I want to keep everyone from russia and everyone from china out, so they dont see any of my pages and I dont even exist to them.

how can i do this?

i get so many cheaters from russia and so many hot linkers from china

clickhappy 08-02-2004 07:22 PM

oh look, 500

:drinkup :banana

dirtysouth 08-02-2004 07:26 PM

Redirect them somewhere you can make :2 cents:

:2 cents: is better than :eatmouse cents

mardigras 08-02-2004 07:33 PM

Country Specific Redirects Using PHP

fris 08-02-2004 07:38 PM

Quote:

Originally posted by clickhappy
say I want to keep everyone from russia and everyone from china out, so they dont see any of my pages and I dont even exist to them.

how can i do this?

i get so many cheaters from russia and so many hot linkers from china

i am pretty sure you can do it with mod geoip with mod rewrite i have never dealtt with something like that before, i know in your httpd.conf or .htaccess you can block out ip or ip ranges. and domains. if you need me to help you figure out a solution i can work with you and put something together.

Lycanthrope 08-02-2004 07:46 PM

http://www.maxmind.com/app/geoip_country
http://www.maxmind.com/app/mod_geoip

jimmyf 08-02-2004 08:00 PM

Quote:

Originally posted by fris
i am pretty sure you can do it with mod geoip with mod rewrite i have never dealtt with something like that before, i know in your httpd.conf or .htaccess you can block out ip or ip ranges. and domains. if you need me to help you figure out a solution i can work with you and put something together.
I'd like 2 know how it's done with .htaccess and with Java


All times are GMT -7. The time now is 12:25 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123