Hello, I would like to make it so that my web server (Red Hat Linux) can limit the outgoing bandwidth of the entire server (e.g. bytes per second) based on time of day. I was wondering if anyone here could provide suggestions as to where to hack.
I searched on modules.apache.org and I found this: ftp://ftp.cohprog.com/pub/apache/module/mod_bandwidth.c This is a module that allows bandwidth throttling based on virtual hosts (e.g. virtual host X can only output 1024 bytes/sec, virtual host Y can output 2048 bytes/sec). I was thinking maybe I can use this as a starting point for my little project. I am thinking I just have to change this program so that it calculates the bandwidth limit based on time of day instead. Does my plan sound reasonable, and are their any pitfalls I should watch out for? Your thoughts are appreciated. Thanks, -Philip Mak ([EMAIL PROTECTED])
