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 to keep certain countries away from your websites (https://gfy.com/showthread.php?t=362733)

MaDalton 09-27-2004 06:01 AM

how to keep certain countries away from your websites
 
hi

i want certain countries not to be able to reach the sites on my server - is there an easy way/script that does that? I don't want a script that redirects by clicking a link - they should not be able to open the site at all. I heard some hardware firewalls can do that, are there other ways?

thanks!

Slinx 09-27-2004 06:37 AM

.htaccess ip exclusions. But I don't really know how to code it.

TheSwed 09-27-2004 06:50 AM

Quote:

Originally posted by Slinx
.htaccess ip exclusions. But I don't really know how to code it.
here is an exemple
RewriteEngine on
RewriteCond %{HTTP:Accept-Language} ja [NC]
RewriteRule .* http://click.dtiserv2.com/Click22/1-6-us1850
RewriteCond %{HTTP:Accept-Language} ko [NC]
RewriteRule .* http://click.dtiserv2.com/Click2/1-85-us1850
RewriteCond %{HTTP:Accept-Language} zh-cn [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
RewriteCond %{HTTP:Accept-Language} zh-hk [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
RewriteCond %{HTTP:Accept-Language} zh-mo [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
RewriteCond %{HTTP:Accept-Language} zh-sg [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
RewriteCond %{HTTP:Accept-Language} zh-tw [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
RewriteCond %{HTTP:Accept-Language} zh [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
:thumbsup

MaDalton 09-27-2004 06:55 AM

Quote:

Originally posted by TheSwed
here is an exemple
RewriteEngine on
RewriteCond %{HTTP:Accept-Language} ja [NC]
RewriteRule .* http://click.dtiserv2.com/Click22/1-6-us1850
RewriteCond %{HTTP:Accept-Language} ko [NC]
RewriteRule .* http://click.dtiserv2.com/Click2/1-85-us1850
RewriteCond %{HTTP:Accept-Language} zh-cn [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
RewriteCond %{HTTP:Accept-Language} zh-hk [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
RewriteCond %{HTTP:Accept-Language} zh-mo [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
RewriteCond %{HTTP:Accept-Language} zh-sg [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
RewriteCond %{HTTP:Accept-Language} zh-tw [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
RewriteCond %{HTTP:Accept-Language} zh [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
:thumbsup

that looks very interesting - though I do not understand it completely - would you mind hitting me up on ICQ? Thank you!

319146475

Fake Nick 09-27-2004 06:56 AM

Quote:

Originally posted by TheSwed
here is an exemple
RewriteEngine on
RewriteCond %{HTTP:Accept-Language} ja [NC]
RewriteRule .* http://click.dtiserv2.com/Click22/1-6-us1850
RewriteCond %{HTTP:Accept-Language} ko [NC]
RewriteRule .* http://click.dtiserv2.com/Click2/1-85-us1850
RewriteCond %{HTTP:Accept-Language} zh-cn [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
RewriteCond %{HTTP:Accept-Language} zh-hk [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
RewriteCond %{HTTP:Accept-Language} zh-mo [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
RewriteCond %{HTTP:Accept-Language} zh-sg [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
RewriteCond %{HTTP:Accept-Language} zh-tw [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
RewriteCond %{HTTP:Accept-Language} zh [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
:thumbsup


lol, that doesn't work, in every country 50% uses an english os

Pornweaver 09-27-2004 06:57 AM

Just put a big sign on your site that says:

"FOREIGNERS GO AWAY NOW!"

mardigras 09-27-2004 06:58 AM

Check out the top few links here:
http://www.google.com/search?sourcei...rection+script

Mr.Profeta 09-27-2004 07:08 AM

use the maxmind,

you can download it for free from there and install on your server,
so.., you can redirect using it as an apache module :-), or add some lines of code to your script.

//www.maxmind.com to download

:2 cents:

TheSwed 09-27-2004 07:10 AM

I think you have all you need here.

http://www.webmasterforum.ch/faq/%20...fer-a-257.html
:)

chupachups 09-27-2004 07:11 AM

Quote:

Originally posted by Mr.Profeta
use the maxmind,

you can download it for free from there and install on your server,
so.., you can redirect using it as an apache module :-), or add some lines of code to your script.

//www.maxmind.com to download

:2 cents:


jacked 09-27-2004 07:13 AM

i've also seen this script/service at www.countrycheck.com they offer a redirect service

Fake Nick 09-27-2004 07:21 AM

Quote:

Originally posted by TheSwed
I think you have all you need here.

http://www.webmasterforum.ch/faq/%20...fer-a-257.html
:)

hi dumb swede ;)


user language redircting doesn't work , people from china or indonesia with an english os would not get redirected ,

it is commonly known that this type of redirecting is bullshit and useless ,

Slinx 09-27-2004 07:23 AM

Quote:

Originally posted by TheSwed
here is an exemple
RewriteEngine on
RewriteCond %{HTTP:Accept-Language} ja [NC]
RewriteRule .* http://click.dtiserv2.com/Click22/1-6-us1850
RewriteCond %{HTTP:Accept-Language} ko [NC]
RewriteRule .* http://click.dtiserv2.com/Click2/1-85-us1850
RewriteCond %{HTTP:Accept-Language} zh-cn [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
RewriteCond %{HTTP:Accept-Language} zh-hk [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
RewriteCond %{HTTP:Accept-Language} zh-mo [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
RewriteCond %{HTTP:Accept-Language} zh-sg [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
RewriteCond %{HTTP:Accept-Language} zh-tw [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
RewriteCond %{HTTP:Accept-Language} zh [NC]
RewriteRule .* http://click.dtiserv2.com/Click/1-118-us1850
:thumbsup

lol, I hope this are your sponsor codes

TheSwed 09-27-2004 07:28 AM

Quote:

Originally posted by Slinx
lol, I hope this are your sponsor codes
Yes it is.:)


All times are GMT -7. The time now is 02:16 AM.

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