SubSonic if you haven’t heard of it is an online webui // transcoder to remotely access your music library.
It runs as a standalone server, with a definable port. However, this all runs what appears to be under a packed java environment. There’s options to limit the bit rate of the music you transcode and upload, however it uploads as fast as it can, thus on my DSL line, not the best of attributes.
It was thus important to limit the speed the service could upload to not cripple my connection!
This is achieved by using a proxy and bandwidth module for apache2. Below is my default configuration for my musi virtual host. This goes into the file /etc/apache2/sites-available/default.
ServerName music.yourdomain.com LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so ProxyVia full ProxyPreserveHost on ProxyPass / http://localhost:1234/ BandWidthModule On ForceBandWidthModule On BandWidth 10.0.0.0/24 0 BandWidth all 40000
You should set the port (1234) to the port that your SubSonic installation uses to serve.
the BandWidth 10.0.0.0/24 0 indicates that my local subnet will not be limited
the BandWidth all 40000 indicates that everything else will be limited to 40000B/s (roughly 40kB/s)
Hope this helps! <3

Andrew Tajsic