Skip to main content
Participant
June 2, 2008
Question

wwwroot Confusion

  • June 2, 2008
  • 1 reply
  • 543 views
Installed CF8 Developer Edition on Win2K3, originally using Apache as the webserver. Customer changes their mind and decided to use IIS, so I use the Web Server Configuration Tool to switch to IIS (default web site), copy CFIDE folder over to C:\Inetpub\wwwroot\ and add a virtual mapping of /CFIDE to C:\Inetpub\wwwroot\CFIDE in the CF administrator.

Seems to work fine, pages are being served out of Inetpub until server is restarted, then it starts looking in C:\ColdFusion8\wwwroot for some reason and not falling back to Inetpub. Also, when looking for cfform.js is appears to be looking off of C:\ColdFusion8\wwwroot as the webroot. I tried adding a Virtual Mapping to jrun-web.xml pointing /* to C:\Inetpub\wwwroot and it worked for the most part, except now CF can't find invoked CFCs. Very strange, should I just do a clean install of CF8? Because the webroot seems to be borked.
    This topic has been closed for replies.

    1 reply

    June 9, 2008
    Usually ColdFusion creates its own CFIDE mapping based on where it finds CFIDE. You cannot edit this mapping in the admin, normally. Strange that you can. Try editing it directly in neo-runtime.xml and restart the server. Also keep only 1 CFIDE. If your initial installation used only the internal webserver - CFIDE was put to coldfusion8\wwwroot. Place it under the webserver's webroot and you should be OK.

    Also CFCs will use the customtag path to find a CFC. So, if all your CFCs are in below a 'com' directory add that com directory to your customtag path.