Software
Já pensou em dar uma olhada no GlimmerBlocker ?
GlimmerBlocker is implemented as an http proxy, so the stability of Safari isn't compromised because it doesn't use any hacks. It is even compatible with all other browsers and other native Mac OS X applications which uses http, e.g. NetNewsWire. The proxy runs on the mac and not on a central server like most proxies.
Because GlimmerBlocker doesn't hack Safari, there is a few things it isn't able to do: adding a block by right-clicking an image, stopping pop-unders, and filtering cookies from 3rd party sites. But you win a lot in stability, and GlimmerBlocker provides much easier methods for adding your own modifications to pages by adding css rules, pieces of Javascript or by transforming the html before Safari receives it. So I'll hope you're happy with the tradeoff.
If you can program in Javascript you'll be able to add your own modification to pages. See the included filters for examples, e.g. adding a download link to YouTube.
Solução manual
Você já pensou em configurar as duas instâncias do seu software de servidor da Web para simplesmente inicializar na inicialização? Não vejo por que você não deveria ser capaz de automatizar isso.
Como sobre um gancho de login? .
Note that with Mac OS X 10.3.x and 10.4.2 or later, you can use the alternative method at the bottom of this document instead, if you wish. For Mac OS X 10.4 and 10.4.1, you should always use the following steps:
1. Open Terminal (Applications/Utilities).
2. In the Terminal window, type:
sudo defaults write com.apple.loginwindow LoginHook /path/to/script
(where /path/to/script is the full path to the script that you want to execute when a user logs in—it doesn't have to be in the user's Home directory).
This modifies the /var/root/Library/Preferences/com.apple.loginwindow file.
3. Type your password at the prompt, then press Return.