Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   TGP Discussions (http://www.greenguysboard.com/board/forumdisplay.php?f=14)
-   -   How do I stop certain domains/countries from viewing my pages (http://www.greenguysboard.com/board/showthread.php?t=7666)

6foot4 2004-05-18 12:44 PM

How do I stop certain domains/countries from viewing my pages
 
I have a list of some asian/russian countries and sites that just waste my BW... that I dont want linking to me or seeing my pages. How can I stop them from viewing my pages etc..

If they cannot signup with a CC.. then really I dont want them on my BW.


Can anyone help with that?

Cleo 2004-05-18 12:51 PM

www.sexmoney.com has htaccess that you can put in place that redirects by country.

6foot4 2004-05-18 03:00 PM

thanks will check it out

Altheon 2004-05-26 12:06 AM

To expand on Cleo's response, you can just block out certain ip blocks in .htaccess or if you have your own box you can use iptables to just drop the packets.

Here is a snippet that I got from MrYellow of webpimps.com

Code:


Order allow,deny
allow from all
#Saudi
deny from 212.138.47.
deny from 212.138.64.
#unknown
deny from 203.149.16.
#Egypt
deny from 62.114.126.
#Chez
deny from 195.116.60.1
#UAE
deny from 195.229.241.

-A

Useless 2004-05-26 11:32 PM

Stand outside your site and yell, "You can't come in here!"

That, or you can use htaccess as Cleo stated.

seb 2004-05-27 12:52 PM

you can always damn specific domains referrals on your HTACCESS file

Surfn 2004-05-27 12:56 PM

I find a couple of RPG's are helpful :D


All times are GMT -4. The time now is 12:18 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc