I'm not sure I understood the question correctly.
Are you are talking about using a backup copy of your site
and putting it on a new box because the old one is fried?
If so, then you change all the hard coded stuff to relative paths
and use things like CGI.HTTP_HOST and CGI.SCRIPT_NAME
to maintain your links independent of what box they are on.
-Eddie
[EMAIL PROTECTED] wrote:
We have many urls hardcoded to our applications servers on our
internet and intranet sites. In the event of a disaster we would
recover those applications on different servers, so the url's would
change. Our web servers however would be recovered as-is. We need
to work out a way to automatically update the url's to point to the
disaster recovery application servers. Options: 1. Manually update
the addresses; 2. Write a script that we wouild run once that would
parse all the files on our site and change the url's; 3. Change the
pages containing the application url's so that the addresses change
based on some file or variable indicating whether or not we are in
'disaster' mode.
I was wondering what other people are doing ?
---------------------------------
Boardwalk for $500? In 2007? Ha!
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Houston ColdFusion
Users' Group" discussion list.
To unsubscribe, send email to [EMAIL PROTECTED]
For more options, visit http://groups.google.com/group/houcfug?hl=en
-~----------~----~----~----~------~----~------~--~---