Virtual Mapping in ColdFusion 8
1) Open up the jrun-web.xml file located in ColdFusion8/wwwroot/WEB-INF directory.
2) Add a virtual directory mapping as follows:
<virtual-mapping>
<resource-path>/cf/*</resource-path>
<system-path>/Users/meutznerb/Documents/dev_flex3/CFMiddleTier/</system-path>
</virtual-mapping>
3) Save the file, and restart the CF server instance.
The mapping above will now allow me to call files from
http://localhost:8500/cf/and reference the CFMiddleTier directory in my Documents/dev_flex3 directory.
The trick was getting the directory path correct... starting from /Documents/... would not work, and required the full path with /Users/meutznerb/Documents/... to be defined.
That's my mac newbie tip for the day :-)


