I had to post this because I couldn’t find a quick answer when I Googled It.
I added index.cfm to my Apache config file under DirectoryIndex to kick off the file as a default. Which worked, kind of…When no page was specified the index.cfm was loaded. However, it was coming up in plain text. Not exactly what I am looking for here. I need that page to compile and render out with CF.
I had to add the CF extensions (.cfm, .cfml, etc.) to the AddHandler Jrun section of the Apache config file.
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore "C:/opt/coldfusion7/runtime/lib/wsconfig/1/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51011
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
I am going to assume they weren’t there because when I installed CF I used the built-in server method. And later, when I configured it for Apache using the Web Server Configuration Tool, I didn’t check the box to configure it for Coldfusion Applications.