Forum Moderators: phranque
[edited by: jdMorgan at 9:14 pm (utc) on July 29, 2006]
[edit reason]
[1][edit reason] No URLs, please. See TOS. [/edit] [/edit][/1]
So the alternative is to write a script using PERL or PHP, and call that script (using mod_rewrite, for example) instead of the page on your home server. The script would then use an HTTP Library function (see libWWW-PERL) to check the status of your home server, and if it is active, redirect or proxy the request to it. If the home server is off-line, then redirect or proxy the request to the local server.
This may be trivial if you're an expert in scripting and HTTP Libraries, but might make a 5-day project if you're just starting. Since I'm not an expert in either, that's all I can offer.
Jim