Today I decided to attempt an upgrade to Mountain Lion with my ColdFusion 9.0.1 install. I already successfully upgraded another machine running ColdFusion 10 but given the issues I had last year with Lion and ColdFusion 9 I was a little gun shy. But with just a few tweaks I learned from the CF10 install, the CF9 install went pretty smoothly.
First, before the upgrade I moved all my ColdFusion/Apache config to a separate config file included from the httpd.conf file: “Include /private/etc/apache2/other/*.conf”
# JRun Settings LoadModule jrun_module /Applications/ColdFusion9/runtime/lib/wsconfig/1/mod_jrun22.so JRunConfig Verbose false JRunConfig Apialloc false JRunConfig Ignoresuffixmap false JRunConfig Serverstore /Applications/ColdFusion9/runtime/lib/wsconfig/1/jrunserver.store JRunConfig Bootstrap 127.0.0.1:51800 #JRunConfig Errorurl url #JRunConfig ProxyRetryInterval 600 #JRunConfig ConnectTimeout 15 #JRunConfig RecvTimeout 300 #JRunConfig SendTimeout 15 AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
Next, after the OS is upgraded to Mountain Lion I noticed an important line missing in the httpd.conf file. So I added the following line right above the first <Directory> tag:
Once I did that, all I had to do is restart apache and make sure ColdFusion was started. The apache restart command in Terminal is sudo apachectl restart. And that is all it took to make it work in my configuration.
The CFIDE directory had a 403 error, so to fix that I simply added the directory that was being aliased to my httpd.conf file.
<Directory "/Users/kbenore/cfdocuments/CFIDE"> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all </Directory>
Again, restarted apache and everything works beautifully.