Computers  »  Proxy

How to Ban Visitors from any Country to visit your proxy

Date Added : June 16, 2010 | Views : 612

Blocking with .htaccess



The .htaccess or hypertext access file is one that can be used for modifying access permissions to any folder or subdomain on your site. If the .htaccess file is present on your hosting account by default, then all you need to do is edit it. If not then you need to create and upload one.

Creating a .htaccess file



* Create a text file on your PC and name it htaccess.txt (or anything else)

* Upload it to the root of your hosting account. In most cases, put it in the folder which has the folders by the name of public_html, private_html etc. If you do not know the root folder, simply ask your host.

* Then using a FTP client or the File Manager of your host, rename the file to .htaccess. check that the file name is dot htaccess (don't forget the dot)

* You cannot create the file with the name .htaccess in Windows and hence you need to follow this process



Banning Countrywide Visitors



* Visit Block a Country

* Select the Country that you want to ban

* Get the .htaccess details for that country

* Copy it and paste it in your .htaccess file

* Now, all visitors from the country will not be allowed to enter the site



Country IP Blocks



* Visit Country IP Blocks



Country IP Blocks is similar to Block A Country but it allows you to choose CIDR (Classless Inter-Domain Routing), Netmask, IP Range, .htaccess deny, .htaccess allow, Decimal/CIDR, or Hex/CIDR. It will also tell you what's the ISO code for the country, total networks and subnets in the list.



Further information on proxy sites by visiting http://www.proxville.com

steve is a freelancer writer and internet marketing expert.

Article Source: http://www.articlesGiant.com
 Picture
Article By: steve toms


Rate Author : Current : 2.71 /5
Rate this Article : Current : 2.48 /5



Permission is granted to republish this article, free of charge, as long as embedded links remain in tact and articles are not changed, edited, or reworded.

Add Your Comments

Your Name * : 
Your Email * : 
Comments Body * :