We are working to convert an old ColdFusion application, currently hosted on Windows and SQL Server to Lucee with PostgreSQL
We have Lucee and PostgreSQL installed on our MAC OS server, and Lucee Admin is coming up correctly (cfm is rendered) - able to add datasources, mail server, etc… so Lucee appears to be working… except:
We moved our code base into a directory on the Lucee MAC, example: Macintosh HD/www/oursite
Our DNS is functioning to ‘oursite’ — meaning a basic HTML page (index.html) displays correctly when we go to the url.
We are accessing the Lucee admin by IP, either a static IP of ours, assigned to this server, or by 127.0.0.1/lucee/admin/server.cfm - and both work fine.
The Lucee CFML engine should work across an entire server, as ColdFusion does/did in Windows — so that is to say, on the MAC/Lucee server, if we put our CFML for our site in /VOLUMES/Macintosh HD/www/oursite – the CFML engine of Lucee should recognize .cfm, .cfc etc and render them correctly.
In my example of http://oururl/index.cfm - that host is set up manually in Tomcat - and port forwarding is set up correctly on the MAC to forward port 80 to port 8080 — we know that and DNS are correct because when we go to our url - index.html displays the sample test page. So I don’t think it is an issue of the host setup in Tomcat, or the DNS entry.
sharedKey=“secret key also set in the Apache/IIS config” />
But, this is Tomcat - NOT Apache or IIS - so why is that even in their example? What are you supposed to put in there for the sharedKey?
And what about this line in their documentation:
“Incoming requests that are sent to Tomcat should contain at least one additional HTTP request header, the “X-Tomcat-DocRoot” header. This will be placed there by one of the mod_cfml web server components, either mod_cfml.so or the BonCode Connector).”
There’s nothing in their site that explains where to put, how to use, mod_cfml.so
GaryNiederhelman We’ve removed your last message. It doesn’t reflect the sort of tone we want to see here in our friendly community. It’s ok to be frustrated, but not ok to direct those kinds of insults at people.