hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Apache question?
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Apache question?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 02-18-2001, 03:07 AM
X-treme X-treme is offline
Junior Guru Wannabe
 
Join Date: Oct 2000
Posts: 60
I was wondering if there is a way to put a Bandwidth quota for virtual hosts (both ip and name based) in Apache? I know how to do the disk quota but I am looking to do the same with Bandwidth usage so I dont have to manually figure out the usage from logs.
Is there a module or a script that anyone knows of that will allow me to put a cap on virtual hosts bandwidth usage and also notify them when they are getting close to their alloted limit?

Thanks in advance.

X-treme

Reply With Quote


Sponsored Links
  #2  
Old 02-18-2001, 07:24 AM
Jason_Berresford Jason_Berresford is offline
WHT Addict
 
Join Date: Jun 2000
Location: Caledonia,Ont, Canada
Posts: 153
Bandwidth Script

mod_bandwidth, its an apache module.

After a quick search a came up with this url : http://www.cohprog.com/mod_bandwidth.html

Have a look.

__________________
[ Jason Berresford | Admin ]
[ Admin@can-host.com ]
[ (905)765-8140 ]
[http://www.can-host.com] [Can-Host Networks]

Reply With Quote
  #3  
Old 02-18-2001, 11:56 AM
X-treme X-treme is offline
Junior Guru Wannabe
 
Join Date: Oct 2000
Posts: 60
Jason I have also found that. The only problem is from what I understand that module just graphs bandwidth usage, it doesnt limit what each virtual host can use. Is anyone using this module that can confirm this?

Any programmers out there that can help with this? I know it is possible because I have seen it on Alabanza and VDI. I am just not sure how to go about implimenting it.

Thanks Jason.

X-treme

EDITED :

I stand corrected that is not the same mod I have seen I think that will do the job!! Thanks Jason!!!

X-treme

Reply With Quote
Sponsored Links
  #4  
Old 02-19-2001, 01:07 AM
X-treme X-treme is offline
Junior Guru Wannabe
 
Join Date: Oct 2000
Posts: 60
Then again maybe not

Does anyone know of a way to put bandwidth quotas on virtual_hosts in Apache? I have looked at mod_bandwidth but it is not what I am looking for. What I need is a way to limit total bandwidth usage for each virtual_host on a monthly basis. Ex. xhost.com 3 gigs per month, vhost.com 2 gigs per month etc. I have been doing this manually with the traffic logs but it has become overwhelming. Is there a way I can parse the info from the logs for each host and have it print out the total usage to date and total to use, on a status page or something? or has anyone figured out a way to do this??

Thanks in advance.

X-treme
xtremedesigns@zxmail.com

Reply With Quote
  #5  
Old 02-19-2001, 09:22 AM
Chicken Chicken is offline
Web Hosting Master
 
Join Date: Jun 2000
Location: Southern California
Posts: 12,121
I haven't looked at it, but am guessing you can limit someting by speed, correct? Say, 128Kbps or ??? Wh\ithout knowing if this is how it works, I'll just stop now...

__________________
HostHideout.com - Where professionals discuss web hosting.

• Chicken

Reply With Quote
  #6  
Old 02-19-2001, 10:25 AM
lienzi lienzi is offline
Junior Guru Wannabe
 
Join Date: Jan 2001
Posts: 39
you can use mod_throttle for this. go to modules.apache.org and search for mod_throttle.

works!

armin

Reply With Quote
  #7  
Old 02-19-2001, 12:19 PM
Jason_Berresford Jason_Berresford is offline
WHT Addict
 
Join Date: Jun 2000
Location: Caledonia,Ont, Canada
Posts: 153
My mistake x-tream I thought you where looking for a bandwidth mod .. not a transfer mod

__________________
[ Jason Berresford | Admin ]
[ Admin@can-host.com ]
[ (905)765-8140 ]
[http://www.can-host.com] [Can-Host Networks]

Reply With Quote
  #8  
Old 02-19-2001, 07:17 PM
X-treme X-treme is offline
Junior Guru Wannabe
 
Join Date: Oct 2000
Posts: 60
Thanks guys I will check out throttle_mod and see if it will work for me!

Thanks again to all!!

X-treme

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Researchers Urge System Admins to Check for New Apache Web Server Backdoor Malware Web Hosting News 2013-05-01 11:35:53
Apache Web Server Adds Cloud Capabilities with First Major Update in 5 Years Web Hosting News 2012-02-21 16:05:02
The Apache Software Foundation Launches Hadoop v1.0 Web Hosting News 2012-01-05 18:29:16
Oracle is the Latest Vendor to Apply Patch for Apache Killer Flaw Web Hosting News 2011-09-19 14:43:58
Patch Released for Apache Software DDoS Vulnerability Web Hosting News 2011-08-26 15:03:10


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?