![]() |
![]() |
![]() |
||||
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 |
Confirmed User
Join Date: Apr 2007
Posts: 983
|
Can someone post .htaccess info?
I want to block all countries except the U.S. and Canada. I have been searching for hours and cannot find the simple code to put into my .htaccess file to do this. Could someone please post the code I need to block the world other than the U.S. and Canada please? This is driving me insane.
If someone does this I'll do a favor in return...nothing sexual though, unless you're a hot chick.
__________________
Skype: Triplexprint |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Apr 2007
Posts: 983
|
Nevermind...figured it out.
__________________
Skype: Triplexprint |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed Fetishist
Industry Role:
Join Date: Mar 2005
Location: Fetishland
Posts: 11,522
|
share the knowledge
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
xxx
Industry Role:
Join Date: Jun 2003
Location: UK
Posts: 31,544
|
Why would you block the UK?
__________________
The Affiliate Program |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Apr 2007
Posts: 983
|
http://www.countryipblocks.net/
If you look on the right it gives you options to either block or allow. I chose allow and selected U.S. and Canada. It generated the text for me and I just pasted it into my .htaccess file. It was a rather large chunk of text and I'm sure there's a better way of doing it. But this will suffice until I figure out what I'm going to do with the site. I'm not blocking UK after I get the site developed.
__________________
Skype: Triplexprint |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Nov 2009
Location: Heaven
Posts: 4,306
|
with geo mod installed on apache its just takes 2 minutes 2 block all countries.
|
![]() |
![]() ![]() ![]() ![]() ![]() |