Skip to main content
Known Participant
September 17, 2008
Question

Cold Fusion 5 and Cold Fusion MX on same system

  • September 17, 2008
  • 4 replies
  • 529 views
I have cold fusion 5 installed on my machine and i installed cold fusion mx too. Cold fusion MX will be using its inbuilt webserver. Now i have a website which i want to execute using the cold fusion MX but i dont want to place the code inside coldfusionMX7\wwwroot\cfide. I want to place the code in a virtual directory and execute from there.

This topic has been closed for replies.

4 replies

sachin_tdAuthor
Known Participant
September 22, 2008
Hi,

this also did not worked.
Inspiring
September 19, 2008
Hi,

No need to replace your existing code, as this will be acting as a separate mapping. (So put this code as a separate entity)

Also in your,

<system-path>C:/sachin_data/activities/websites/</system-path>

declaration remove the "/" from the "websites/" and try restarting your server again after saving the changes made..


sachin_tdAuthor
Known Participant
September 19, 2008
daverms
thanks for a quick reply
but when i replaced my code with this, it did not work. below is the code which i replaced with.

<virtual-mapping>
<resource-path>/*</resource-path>
<system-path>C:/sachin_data/activities/websites/</system-path>
</virtual-mapping>

The page cannot be replaced error is displaced.

I have cf 5.0 installed on port 80 i.e the default and cf 7 MX on 8500
Inspiring
September 18, 2008
Hi,

You need to edit your "jrun-web.xml" (which normally resides under your "cf_root/wwwroot/WEB-INF/" directory). And add your directory name inside like this,

<virtual-mapping>
<resource-path>/*</resource-path>
<system-path>C:/your_directory</system-path>
</virtual-mapping>

Then restart your CF Server.