Skip to main content
Inspiring
April 25, 2018
Answered

Files in WebServer/Documents/ Creating Unexpected Error Message

  • April 25, 2018
  • 1 reply
  • 1390 views

Installed the beta, and had it set up to use the Apache server that is included in OS X on my laptop.  And, I'm using the 8500 port.  I have all the files in /Library/WebServer/Documents folder. In Httpd.conf I have "DocumentRoot "/Library/WebServer/Documents"".  

When I try to run 127.0.0.1/twitterstuff/testing.cfm I get:

Error Occurred While Processing Request

File not found: /twitterstuff/testing.cfm

However, when I move this directory into /Applications/ColdFusion2018/cfusion/wwwroot/CFIDE, this file runs.  This isn't an ideal answer to the problem, though.  Is this a bug, or some configuration I need to make somewhere else?

This topic has been closed for replies.
Correct answer lolajl

That's odd, because I just do not an older version of CF that is installed. CF2018 is the only one that I've deliberately installed on the laptop, which has never had CF installed until today. Although remnants may exist somewhere in the unix side since I had migrated files over here from my previous laptop, which did have CF installed.  Definitely I'll email you.

Edited to add:  Seems the problem was in /private/etc/apache2/mod_jk.conf - everything was referencing to the old directory as per "LoadModule    jk_module  "/Applications/ColdFusion2016/config/wsconfig/1/mod_jk.so""

Apparently this file didn't get written over or get saved as .conf_original; may I suggest that the installer check for this possibility? 


So, I'm going to try removing this file from the directory and running the install process again.  



Okay, problem solved! The answer was to move the old mod_jk.conf file out of the directory, comment out the original include line in the http.conf, restart the Apache server and install CF2018.  Going to 127.0.0.1/twitterstuff/testing.cfm works properly now.  Thanks for your help.

1 reply

Participating Frequently
April 26, 2018

Files in the WebServer webroot are only served if the ColdFusion connector is configured. 

Without the connector being configured, ColdFusion only looks for files in the ColdFusion webroot. Once the connector has been configured, CFM files can be placed in the webserver webroot, and needs to be accessed via the webserver port (Not 8500). 

Please refer the following doc to configure connectors,
https://helpx.adobe.com/coldfusion/installing/configuring-your-system.html 

lolajlAuthor
Inspiring
April 26, 2018

Okay . . . shouldn't this be made clear in the install process?  I thought that adding the Apache server at that stage would automatically make this config.  I know I didn't have this problem when I did previous CF versions installs. Can the Adobe staff confirm this?

Participating Frequently
April 26, 2018

Was the connector configured during install? If yes, your connector configuration is already in place, unless an exception was thrown the first time you started ColdFusion.

Can you try accessing /twitterstuff/testing.cfm on your Apache port (Not 8500)?

p.s., I am Adobe staff :)