When you say hard coded, do you mean something like "http://www.server.com";?

If so, how about a simple search and replace for http://www.server.com 
to http://#cgi.server_name#?

Of course, you'd need to be sure that was wrapped in cfoutput tags, so 
that could be bad. 

[EMAIL PROTECTED] wrote, On 8/21/2007 11:09 AM:
> 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 ?
>
>
> >
>
>
>   


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to