Hi,

I'm using FC 5.0.2 and have setup two sites in the one project using
branches.

I have setup the domains so they both point to the project/site/www
directory. Now obviously depending on which domain is used I want to
send the user to a different branch. What I have done is add nav
aliases to the two "home" nodes and added a check in the
onrequeststart of the application.cfc which changes the
application.navid.home to the right alias

so
cfif cgi.server_name is "www.site1.com"
  cfset application.navid.home = application.navid.site1home
else
  cfset application.navid.home = application.navid.site2home

Is that the best way to do things? or is there a different / preferred
way?

Cheers,
Simon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to