![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
IslandDollars.com
Join Date: Oct 2004
Location: Icq: 176176
Posts: 12,188
|
Blocking certain countries / IP ranges......
What 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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 | |
IslandDollars.com
Join Date: Oct 2004
Location: Icq: 176176
Posts: 12,188
|
Quote:
__________________
ISLAND DOLLARS 1000's of Exclusive TS scenes / Constant Updates Best TS Network your surfers will ever join |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
there's no $$$ in porn
Industry Role:
Join Date: Jul 2005
Location: icq: 195./568.-230 (btw: not getting offline msgs)
Posts: 33,063
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Dec 2004
Location: Unknown
Posts: 4,283
|
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! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
|
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.
__________________
Perfect Gonzo |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
|
Quote:
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. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
|
Mod_GeoIP and Maxmind's database. The free one is good, the paid versions are obviously better
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
IslandDollars.com
Join Date: Oct 2004
Location: Icq: 176176
Posts: 12,188
|
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 join |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Clueless OleMan
Join Date: Mar 2003
Location: ICQ - 169903487
Posts: 11,009
|
Damn a business thread! Thanks for the info, esp the scripting.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
IslandDollars.com
Join Date: Oct 2004
Location: Icq: 176176
Posts: 12,188
|
Quote:
![]()
__________________
ISLAND DOLLARS 1000's of Exclusive TS scenes / Constant Updates Best TS Network your surfers will ever join |
|
![]() |
![]() ![]() ![]() ![]() ![]() |