•  
  •  

Set up FarCry in a hosted environment

I’ve developed and implemented a few Content Management System (CMS) in my career. One of the best open source CMS for ColdFusion that I’ve found is FarCry. Unfortunately, it is hard to setup in a hosted environment because it requires specific virtual directories and a ColdFusion Mapping. Not all hosts will allow you to do this, but recently I got HostMySite.com to help me get it installed in their hosted environment.

Follow the installation guide with only a couple of changes. First, setup the CF Mapping. Then create the virtual directory “/farcry” so that it is the same as the CF Mapping. (i.e. CF Mapping is “farcryP98349″ so the virtual directory will be named “farcryP98349″. Finally, do a find & replace on the FarCry source to update all the references to “farcry” so that they match the virtual directory/CF mapping. Here are the exact strings to replace:

  • “/farcry/
  • “/farcry”
  • ”/farcry/
  • “farcry.#
  • “farcry.farcry
  • ”farcry.
  • farcry.fourq

The key to getting this right is making sure the CF Mapping and the virtual directory match. Once you have that, it”s a simple find & replace on a few strings.

About Rob Rusher

In his role as Principal Consultant for On3, Rob leads an software development practice to help his clients build rich Internet applications for the desktop, browser, and mobile devices, and to rapidly increase their knowledge and skills to better support their organization's goals. Rob is an Adobe Certified Expert, Community Professional, and Certified Instructor. He has taught and mentored the technical teams at HP, Overstock, Paychex, SAS, the FedEx, and other Government and Fortune 100 organizations. Rob has co-authored four best-selling books on building secure, cutting-edge and rapidly developed applications using Adobe AIR, ColdFusion and Flex. He is very active in organizing and speaking at RIA, Adobe LiveCycle, mobile conferences, and user groups. In addition to growing his software consulting practice, On3, Rob has been building expertise in rich client application development on a wider variety of devices and platforms that extend the applications to change the way we all create and live.