Coldfusion 8 and WAMP5, cya IIS
For more years than I care to remember I have almost exclusively used IIS as a local development web server. With some various tools and hacks I have been able to simulate domain names for local testing, but it has been painful. I recently started using WAMP5 for local development on a project and quickly discovered I have wasted a great deal of time with IIS. Using Apache virtual hosts is a snap and makes local development of many different sites under different domains a breeze.
Since I do a lot of work with Coldfusion I decided to try and make the switch complete and run Coldfusion through the Apache server instead of IIS. Good idea ... rough implementation. I had a nightmare trying to get Coldfusion 7 and Apache 2.2.4 to run together ... numerous head slaps, desk slams and a day wasted. I think the biggest problem was the fact that I was running WAMP instead of a straight Apache install so the Coldfusion configurator was having issues. I found a few resources explaining some processes to try to resolve the issues but nothing worked. I ran across a post that mentioned Coldfusion 8 and WAMP working together so I decided to install the beta of CF 8 and give that a whirl. It worked like a charm.
The only issue I had was that when browsing to the CFIDE administrator I kept getting the prompt asking what to do with the index.cfm file, save it or open it with a program. If I changed the url from 'http://localhost/CFIDE/administrator/index.cfm' to 'http://127.0.0.1/CFIDE/administrator/index.cfm' then everything worked perfect. I think that problem was something related to my host file though, because now it works perfect.
Overall the setup of Coldfusion 8 and WAMP5 seems great, I can not imagine ever going back to IIS now.
Jul 20, 2007 at 9:32 AM
>>I ran across a post that mentioned Coldfusion 8 and WAMP working together
Can you point us to it? I do a lot of WAMP and CF separately and would like to change that.
thanks!
Jul 20, 2007 at 9:55 AM
Here's the links:
CFMX7 and Apache 2.2.4
Scorpio Beta works with Apache 2.2.4
Coldfusion 7.02 and WAMP 1.7.0
Oct 03, 2007 at 1:00 PM
>The only issue I had was that when browsing to the CFIDE administrator I
> kept getting the prompt asking what to do with the index.cfm file, save it or
> open it with a program. If I changed the url
> from 'http://localhost/CFIDE/administrator/index.cfm'
> to 'http://127.0.0.1/CFIDE/administrator/index.cfm' then everything worked
> perfect.
You need to tell the Apache config file that index.cfm is a valid default file for directories. If you add index.cfm to the DirectoryIndex section of the httpd.conf file (in the conf directory of the Apache install directory), you can get rid of this issue.
the directoryindex line should read something like:
DirectoryIndex index.php index.html index.htm index.html.var index.cfm
------
You'll need to restart apache (or wampapache) after this change.