var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Limiting bandwidth in Virtual Hosts in apache
All of my web hosting accounts that I set up for my clients are pretty simple, apache VirtualHosts..
I have a
Include "/usr/local/apache/vhosts" in my httpd.conf
so i just create /usr/local/apache/vhosts/$systemusername
well anyhow, i'd really like to be able to limit each account 10-20GB of transfer.
I've heard of things like mod_throttle but I hear that it loses its state once you restart apache?
I would *really* like to be able to set up each virtualhost in apache with a limit of 20gb unless specified otherwise..
so this way as soon as it reaches 20gb it will just stop the site, suspend it, or chmod 0 it or something i don't know.. but i think you all get the idea
Can anyone recommend anything to me, or have any ideas?
Any feedback would be greatly appreciated.
mod_throttle does not lose anything if you specify
- Custom E-Solutions
Fast, Reliable, Affordable Web Hosting
As suggested by ntwaddel, I don't think so "mod_throttle" will lose its state once Apache gets restarted. Have a look into this URL for more info.