ColdFusion MX on Mac OS X, Part 4
Subject:   Aargghhh!!! Deadlines Approach!!
Date:   2003-01-31 04:29:31
From:   dicklacara
Response to: Aargghhh!!! Deadlines Approach!!

A. Where is the equivalent of the "wwwroot" directory?

The equivalent of wwwroot is:


and the URL is:

On my system I used the following:

  JRun_Root............./Applications/JRun4/ (default)
CFMX_Context_Root.....cfusion (default)
I created a JRun_Server_Instance named cfmx1, and used the default CFMX-Context_Root so the path is:
and the URL is
If you used the default server instance, the path would be:
and the URL would be:
This may seem to be a lot of work, but it gives us flexibility -- we can setup multiple JRun_Server_Instances and/or multiple CFMX_Contexts. We will use this flexibility in later articles.

B. How do I set up my site (i.e. where do I put it???)

The outermost level where you can execute CF Templates is the CFMX-Context_Root.

If you have RDS installed, there will be three extra files installed at this level:

These comprise the RDS Redirector -- they will redirect the URL to the Administrator -- CFIDE/administrator/index.cfm

To avoid any conflict, you should not store any of your application files in the CFMX-Context_Root, itself -- rather they should be deployed in a directory under the CFMX-Context_Root.

For example, with an application directory named mycfmxapps the path would be:


and the URL would be:

C. I don't understand the question -- examples please!