Basically I run a VPS and host my clients' sites on it. I have mod_vhost_alias set up to use the domain as the client's user account home folder, eg /home/www.example.com. I'd like to use mod_cband to limit the bandwidth per domain too. I know I can do this per virtualhost, but I have it set up using mod_vhost_alias. Is this possible?
For your reference, this is what I have so far...
<VirtualHost *:80>
# Doesn't matter as long as it's fake rlly
ServerName bogusname
UseCanonicalName Off
VirtualDocumentRoot /home/%0/www
# Bandwidth stuff
CBandDefaultExceededURL http://clients.bradreed.co.uk/bandwidth_exceeded.html
CBandLimit 100G
# The following doesn't work
CBandScoreboard /var/www/scoreboard/%0
</VirtualHost>
Thank you :)