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