|
|
|
||||
|
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 |
|
Registered User
Join Date: Jan 2007
Posts: 20
|
htaccess block
Hey
can you guys tell me how to block certain countries with htaccess? and maybe a list of country codes, as I want to block the entire world, nearly except from all the coutries in europe thanks |
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jan 2007
Posts: 20
|
Thanks, just what I was looking for
|
|
|
|
|
|
#4 |
|
Confirmed User
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
|
The link fris posted is a great tool, but to actually filter by country (and not simply language) you will require a database and some block / redirect rules.
Keep in mind that neither method is perfect, and if you are looking for something simple, language will suffice. Anyhell, these two links should get you started if you want to play w/ geoip: http://www.maxmind.com/app/geoip_country (free database / info) http://www.maxmind.com/app/mod_geoip (apache api) |
|
|
|
|
|
#5 |
|
Registered User
Join Date: Jan 2007
Posts: 20
|
okay, will look into that also.... is there a very easy way to block all american surfers?
|
|
|
|