var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
How to restrict users from a certain country ?
I run a vbulletin forum on a dedicated server with centOS5/apache and whm/cpanel.
Is there any way i can restrict users from a certain country ? If they try to access the site, they should just see the apache test page.
Is this possible ?
Just check the IP of that country and block it, since some set of IPs are given to that particular country.
Install csf firewall, and add the countrys in the config, like:
You can accept only the countrys you want
# An alternative to CC_ALLOW is to only allow access from the following
# countries but still filter based on the port and packets rules. All other
# connections are dropped
CC_ALLOW_FILTER = ""
By angathan in forum Dedicated Server
Last Post: 12-22-2010, 01:13 PM
By parm775 in forum Hosting Security and Technology
Last Post: 02-01-2010, 03:39 AM
By jaseeey in forum Hosting Security and Technology
Last Post: 10-21-2008, 08:16 AM
By jhadley in forum Programming Discussion
Last Post: 06-18-2007, 11:57 PM
By radv in forum Web Hosting Lounge
Last Post: 05-30-2004, 10:24 PM