My First Application on ColdFusion MX Server - Creating a Virtual Directory to Publish CFM Files
(Page 3 of 6 )
The concept of virtual directory associates a directory on the machine on which the Web server is hosted to a logical path on the Web server. A visitor to the Web page can only find what the logical path is, and will not be able to find where the real directory is located. The virtual directory wizard takes on the responsibility for the creation of virtual directories in IIS. The next picture shows how you may create a virtual directory.
After welcoming, the wizard quizzes you about the name you want to give for this directory. This is an alias for the real directory.
Next you need to point to the directory on the machine into which the content will be published, as seen in the next picture. This directory is created in the My Documents folder called, MyCFusion.
You follow this up with configuring the access permissions. Herein, the default is accepted. Although it says ASP, the CFM files are also acceptable. This will be seen later when we look at the properties of the virtual directory.
Now you will see a virtual directory created in the IIS Web server as shown here. Currently, this directory is empty as no content has been added.

Next: Virtual Directory Properties >>
More ColdFusion Articles
More By Jayaram Krishnaswamy