@Dave,
Dave, I'm starting to understand how this stuff works. When I installed ColdFusion on my Windows 7 machine, I installed the stand alone developer edition. I'm using the built in web server. I am now realizing that this problem is a server problem rather than a mapping problem. I have attached a link below that I beleive is a partial solution to my problem. You actually were involved in that thread as well!
I moved my websites folder into the root of my C: Drive. I then had to edit the jrun-web.xml file in order to reconfigure where the server looked for my website assets. So, now instead of my URL reading http://localhost:8500/websites/website1/index.cfm it will now read http://localhost:8500/index.cfm. This fixed all my absolute path issues and also mimics my hosting enviroment. AWESOME!
<virtual-mapping>
<resource-path>/*</resource-path>
<system-path>C:/websites/website1</system-path>
</virtual-mapping>
However, I still have a problem that you may be able to answer. Since I am developing multiple websites using the same instance of ColdFusion, how do you set it up so that each website operates in this fassion? Right now, if I want to swich what website I'm working on, I have to go back into the jrun-web.xml file's virtual mapping and change the system-path attribute. (See Code Above)
This doesn't seem like the optimal way to setup my server. Do I need to install IIS or a different web server in order to accomplish this? Is each website supposed to operate on a different port? (8500,8501,etc)
Keep in mind I'm running the stand alone developer edition of my development PC.
I really appreciate your help!
Virtual Mappings: http://forums.adobe.com/message/4046990
The built-in CF web server only supports one virtual server per CF instance, so you'd have to change that every time you want to work on a separate site, or create a separate instance of CF using Instance Manager in the CF Administrator. You won't have Instance Manager available, since you chose the "standalone" version of CF during the install. If you reinstalled CF to use the multiserver JRun option, you could then install multiple CF instances, and each would have a separate port (8300, 8301, etc). However, that would also consume significantly more resources on your computer.
The best solution for this is usually to install an external web server, IIS or Apache, and use that with your single CF instance. IIS is a Windows component, so the version of IIS you can use is limited by the version of Windows you're running. If you're running Windows XP you won't be able to use IIS to run multiple virtual servers. Apache will work for this regardless of your OS, but can be a bit more difficult to configure.
Dave Watts, CTO, Fig Leaf Software