[ this should be in the technical forum, however ... ]
There are a couple of modules for apache that will implement bandwidth limiting (mod_throttle and mod_bandwidth) but I never really liked how they were implemented.
To use tc you will need a kernel with all the QoS queuing stuff compiled in.
You will also need the relevant package for tc, part of iproute on debian.
Then something like:
Add queuing discipline:
# tc qdisc add dev eth0 root tbf rate 220kbit latency 50ms burst 1540
# tc -s -d qdisc ls
Remove queuing discipline:
# tc qdisc del dev eth0 root tb
You should read up on how the different queuing disciplines (CBQ, etc) work, it can get quite complicated.
Rack Sense Ltd UK Managed Services Provider
Views expressed are my own and not those of the company.