are subdomains allowed to do this? |
are subdomains allowed to do this? |
Mar 4 2009, 01:00 PM
Post
#1
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 354 Joined: May 2007 Member No: 526,982 |
so i have a subdomain. and i was wondering if i was allowed to ban people? or does your host have to do that for you?
|
|
|
|
![]() |
Mar 4 2009, 04:21 PM
Post
#2
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,237 Joined: May 2008 Member No: 648,123 |
if you know the IP address of the person you're looking to block, you can just use a simple rule in a .htaccess file.
if you don't already have a .htaccess file, you'll need to create one (the entire file is named ".htaccess"; there's nothing before or after it). paste this into the file, save it, and upload it to the root directory of your domain (yoursite.yourhostsite.com/.htaccess): CODE order allow,deny replace the # symbols with the IP address. if you need more, just add them to the list.
deny from ###.###.###.### deny from ###.###.###.### allow from all |
|
|
|
miszxjojo are subdomains allowed to do this? Mar 4 2009, 01:00 PM
jcp You can give your admin the ip address and ask the... Mar 4 2009, 01:04 PM
ect toolator.com works for me. It "bans" thr... Mar 4 2009, 01:16 PM
Fawaz as long as you have to option to do that and its n... Mar 4 2009, 03:11 PM![]() ![]() |