Go Back   Cloud Computing > Support > Control Panel Forum
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 09-10-11, 14:21
BOD Member
 
Join Date: Jun 2011
Posts: 54
Default custom ip range in .htaccess

Hello,

Is there way that provide custom IP range in .htaccess to allow from? For an instance, 10.0.0.150-10.0.0.180
Reply With Quote
  #2 (permalink)  
Old 09-10-11, 14:34
BOD Member
 
Join Date: Apr 2011
Posts: 74
Default

Just allow the network as following:

allow from 10.0.0.

I am concerned that I am unaware of a more wordy method of allowing a specific range of IP's. Hope this helps.
Reply With Quote
  #3 (permalink)  
Old 09-10-11, 14:40
BOD Member
 
Join Date: Apr 2011
Posts: 76
Default

What exactly you wanting to do? Rather allow perticular IP's allowing IP range can cause security threats, you simply do not want to give access to anyone, sooner or later when you do not know who is using those IP's.
Reply With Quote
  #4 (permalink)  
Old 09-10-11, 14:53
BOD Member
 
Join Date: Apr 2011
Posts: 82
Default

If you want to block a IP range, you can use the following steps:

Quote:
EX.
order allow, deny
deny from 69.65.43.93-100
allow from all.
This will deny access to anyone with the IP numbers 69.65.43.93 through 69.65.43.100
So the same is true of the allow; simply change the texts from “allow” to “deny” and vice versa.
Reply With Quote
  #5 (permalink)  
Old 09-10-11, 15:08
Rozanne's Avatar
BOD Member
 
Join Date: Nov 2010
Posts: 116
Default

Wouldn't it be simpler to use IPTables to do the same thing?
__________________
BODHost.com: | Dedicated Server Hosting | Cloud Server Hosting
Ph. : +1.866-662-0909 | Email : sales@bodhost.com
Reply With Quote
  #6 (permalink)  
Old 09-10-11, 15:17
BOD Member
 
Join Date: Apr 2011
Posts: 82
Default

OP specifically asked for a .htaccess file and yes, with the help Of IPTables we can do all this on a firewall, but a lot of people don't have the access to firewall systems and therefore they must resolve this issue with .htaccess information.
Reply With Quote
  #7 (permalink)  
Old 09-10-11, 15:24
Rozanne's Avatar
BOD Member
 
Join Date: Nov 2010
Posts: 116
Default

Probably OP is on shared or reseller hosting package, because I haven't seen a VPS or Dedicated Server without IPTables access.
__________________
BODHost.com: | Dedicated Server Hosting | Cloud Server Hosting
Ph. : +1.866-662-0909 | Email : sales@bodhost.com
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 05:57.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.