Behold, the magic of Apache (or pretty much any web server) ...
Alias favicon.ico /path/to/your/physical/location/favicon.ico
Now please give £300 for selling you this tip.Here's £150, because you only told me how to do it on one server :P
Curiosity: does that work for subdomains with different favicons?
Quick and dirty solution, for each favicon you'll have a different virtual host inside Apache.
And I fail to grasp the situation where you've got multiple subdomains setup inside the same virtual host config (through ServerAlias), but still having different favicons. But even for this case you can probably come up with something based on mod_rewrite.
If that's the case, diving around someone else's code for £585 is pretty cheap.