Highlighted

Coldfuson 9 built-in server change path

Participant ,
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

286

Likes

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

Coldfuson 9 built-in server change path

Participant ,
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

287

Likes

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
Jan 03, 2018 0
Adobe Community Professional ,
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

Likes

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
Reply
Loading...
Jan 03, 2018 0
Participant ,
Jan 03, 2018

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Jan 03, 2018 0