Skip to main content
August 22, 2007
Question

What is recommended installation procedure on Windows?

  • August 22, 2007
  • 2 replies
  • 352 views
I've just installed CF8 and I've configured it to work with Apache. When I installed CF8, I did a multiserver install with JRun4 and I had CF8 install to the web root (C:\Program Files\Apache Software Foundation\Apache 2.2\htdocs). This is where my CFIDE got installed. However, I want my development projects installed to C:\Projects\CF8 with each project having its own folder under the CF8 folder. I created virtual hosts in Apache for those projects and created a hostname for each project. I was having problems running the apps until I copied the CFIDE folder from my web root to each project under the CF8 folder. But I'm still having problems. I'm getting the following to a project I created called mptest:

Error invoking CFC /employeeService.cfc : Internal Server Error [Enable debugging by adding 'cfdebug' to your URL parameters to see more information]

I'd rather not have to run my apps in the webroot directory but I will if there isn't another way to do it. It seems like my setup is fine, but ColdFusion is having trouble dealing with Apache's virtual hosts.
    This topic has been closed for replies.

    2 replies

    Participating Frequently
    August 22, 2007
    You need add an Alias to /CFIDE in your Virtual Host entries and add a Directory entry for the common CFIDE folder. .

    Check out Cutter's posts on setting up CFMX with Apache.
    Inspiring
    August 22, 2007
    When using Windows and IIS in a similar manor, I need to make sure that
    each of the new 'virtual' websites have a 'virtual' directory named
    'CFIDE' mapped to the real CFIDE folder for the various functionality
    that comes from that resource.

    I would presume Apache offers similar mechanisms for this. So instead
    of creating many copies of the CFIDE folder you point all the websites
    to the one copy.