• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Coldfuson 9 built-in server change path

Participant ,
Jan 03, 2018 Jan 03, 2018

Copy link to clipboard

Copied

I have had to reinstall CF9 on windows 7 but lost IIS connect. After several trials, decided to use the built-in server for my development. Installed fine and get the administrator page under port 8500. I'd like to put that in my inetpub/wwwroot/ path and have access to CF sites via localhost at that inetpub/wwwroot location.

CF doc says can do this by changing the jrun-web.xml file under "virtual-mapping". I moved CFIDE to  inetpub/wwwroot/ path

Adobe ColdFusion 9 * Using the built-in web server

I tried it with:

"

<virtual-mapping>

    <resource-path>/*</resource-path>

    <system-path>C:/inetpub/wwwroot/</system-path>

  </virtual-mapping>

"

but gets 404 error for http://127.0.0.1:8500/CFIDE/administrator/index.cfm

"java.io.FileNotFoundException"

Would like to be able to keep everything where I have it in the inetpub/wwwroot folder rather than move all files to the CF9/wwwroot/ directory.

I'm guessing I have not changed the xml with the proper mapping.

Appreciate any help or advice.

Keith

Views

389

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 03, 2018 Jan 03, 2018

Copy link to clipboard

Copied

By default, you will already have a virtual mapping for /CFIDE that resolves to wherever CF puts the directory. Changing the location of the root directory won't affect that existing virtual mapping.

Dave Watts, CTO, Fig Leaf Software

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 03, 2018 Jan 03, 2018

Copy link to clipboard

Copied

LATEST

Thanks, but don't think I'm understanding:

CF put CFIDE in the CF9/wwwroot/ directory. Which I can access properly at: http://127.0.0.1:8500/CFIDE/administrator/index.cfm

Currently, all my CF sites are in C:Inetpub/wwwroot/  I was hoping I could keep them there and access as in the past with IIS (but now with port) at say: http://localhost:8500/mySite/index.cfm can I do that without moving all the CF sites to CF9/wwwroot/? From the docs article, looks like should be able. Maybe I'm missing something in interpreting this and your reply.Keith

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation