Results 1 to 7 of 7
-
05-11-2011, 11:34 AM #1Junior Guru Wannabe
- Join Date
- Oct 2010
- Posts
- 85
limit visitors to reach the website
Hello
I want to limit my website visitors to few countries for examples sourceforge boycott iran to reach the download page
i can do this with CSF firewall but i dot want to use it
anyone know about other ways of this issue ?
sorry for my bad english
Best Regards
-
05-11-2011, 02:03 PM #2WHT Addict
- Join Date
- Jun 2008
- Posts
- 138
If you only want a few countries to access the site you can block all access using /etc/hosts.deny and allowing only a few with /etc/hosts.allow
Please note that hosts.allow / hosts.deny only apply to programs that use tcp_wrappers for connections to the linux host.
Apache has it's own thing for doing what you want, http://httpd.apache.org/docs/2.0/mod/mod_access.html
-
05-11-2011, 02:11 PM #3Disabled
- Join Date
- Jan 2011
- Location
- India
- Posts
- 1,453
many hosting company provide this services with each account i too have this services for my website so it will be better if you cantact them directly
-
05-11-2011, 10:12 PM #4Junior Guru
- Join Date
- Aug 2010
- Location
- Indonesia
- Posts
- 205
Try to contact your hosting provider and ask for that services
Resellerid.com
Cheap & Powerfull Reseller Domain
RESELLERID.COM | Affordable Domain Solution
Reseller your domain and making profit
-
05-12-2011, 08:46 AM #5Junior Guru Wannabe
- Join Date
- Oct 2010
- Posts
- 85
This Line means
i can do this with CSF firewall but i dot want to use it
so mod_access can help me to limit visitors by country ?
I dont have the range of each country ip addresses
what can i do ?
-
05-12-2011, 10:44 AM #6WHT Addict
- Join Date
- Jun 2008
- Posts
- 138
Take a look here, http://ip.ludost.net/
Just put the list of ISO country codes you want blocked and it will tell you the ip ranges you need to use.
-
05-12-2011, 11:23 AM #7Premium Member
- Join Date
- Oct 2007
- Location
- Hong Kong+Toronto
- Posts
- 1,254
Keep in mind that you might end up blocking a lot of legitimate traffic as well as these solutions are not 100% accurate, far from it
Similar Threads
-
Multiple A records for website -- client does not reach web always?!
By shunter1 in forum Hosting Security and TechnologyReplies: 9Last Post: 06-16-2009, 04:55 AM -
Can ping, can trace but cannot reach the website?
By WebEditor in forum Hosting Security and TechnologyReplies: 6Last Post: 07-30-2008, 03:05 PM -
3 Traffic names: 1229 visitors, 2838 visitors, 15 289 visitors
By Johnnywj in forum Domain Name OffersReplies: 7Last Post: 03-28-2005, 10:37 AM -
200,000+ visitors. Want to reach 18-35 year old market?
By Artashes in forum Other Offers & RequestsReplies: 5Last Post: 02-04-2005, 05:34 AM -
Guaranteed Website Visitors / 1000 Visitors $1.75
By geesh.net in forum Other Offers & RequestsReplies: 2Last Post: 03-02-2004, 06:28 AM