6 Replies Latest reply: Aug 18, 2011 11:56 PM by Owain North RSS

    CF9 on OSX not processing CFML after root dir change

    Owain North Community Member

      Okay, I give up - I'm going to have to create a thread on here and hope someone knows more about CF9 on OSX than me, which shouldn't be too difficult.

       

      I'm trying to get CF9 on an OSX desktop for a friend, and have gotten 99% of the way before falling over in a big heap of fail. CF9 is installed (OSX 10.5.8), 9.0.1 and CFH1 have also gone on fine. Scripts are in place for easy start/stop, all good. Build-in webserver, btw.

       

      However, for SVN-based reasons, I need to change the web root directory. Not a problem, it's all documented by Adobe. I've added in the extra virtual-mapping element into jrun-web.xml, and now when I restart CF it's serving up the index.cfm from the new root. All good, except my simple test page now renders CFML straight to the browser rather than processing it. I just get this in all its glory:

       

      <cfoutput>test?</cfoutput>

       

      The most relevant post I could find was this one, but as that related to install-time issues on 10.6 I'm not convinced it's the same problem. I've already had to bodge the wsconfig commandline tool with the "-XStartOnFirstThread" switch due to some bug somewhere, and then I can't get it to list out the currently configured connectors. If I do "sudo ./wsconfig -XStartOnFirstThread -list", I'd expected to see the list, but I just get the usage instructions again as if I'm doing something wrong, which I clearly am.

       

      If it were me I'd have just put CF onto a virtualised Windows or Linux box but alas that's not an option here, so I'm stuck trying to battle this evil webserver config.

       

      Hold the phone, I just managed to get wsconfig to load up in graphical mode, but it's no better - it shows no connectors in place and you can only add Apache - does the built-in webserver have a "connector" as such, or would I not expect to find it in there? Maybe I'm barking up the wrong tree with wsconfig.

       

      Any thoughts people? I've finished off half a large Toblerone already and the other half is looking pretty doomed.

       

      Cheers

      O.