has anyone got mod_cfml setup with tomcat/lucee/apache i’ve been trying to
get this working but am running into difficulties wondering if anyone has
any pointers or a guide or if indeed it is possible
Thanks
has anyone got mod_cfml setup with tomcat/lucee/apache i’ve been trying to
get this working but am running into difficulties wondering if anyone has
any pointers or a guide or if indeed it is possible
Thanks
As usual, for these types of question, I would like to ask:
The reason I ask is that your question is pretty open, and yeah, I got
mod_cfml working but I have noticed that 70% of the time people don’t even
need it.
Many regards and salutations
Mark DrewOn 1 July 2016 at 13:35:54, mee nothus (@mee_nothus) wrote:
has anyone got mod_cfml setup with tomcat/lucee/apache i’ve been trying to
get this working but am running into difficulties wondering if anyone has
any pointers or a guide or if indeed it is possible
You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/6b0d0021-ad51-4dd8-84fb-b2eeb9988855%40googlegroups.com
https://groups.google.com/d/msgid/lucee/6b0d0021-ad51-4dd8-84fb-b2eeb9988855%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.
I was able to get this working now and understand a little more about how
tomcat is working with lucee
I guess I was confused by the only instructions for Mac OS X on the
http://docs.lucee.org/guides/running-lucee/osx.html stated using using the
WAR file.
Thank you both very much for your helpOn Friday, July 1, 2016 at 11:39:18 PM UTC+1, Jordan Michaels wrote:
You need to have Lucee installed as a common class so that it gets added
to all contexts. Deploying Lucee as a WAR only effects the context you
deploy it to. The blank pages you’re getting are probably because Tomcat
doesn’t have a handler for CFM’s for your new context (check the
catalina.out to be sure).In a nutshell, you need to:
- Use the Lucee Jar instead of the Lucee WAR. Added it to Tomcat’s
common.loader line in the catalina.properties file.- Update the tomcat/conf/web.xml with handler information for CFM’s (this
is the generic web.xml that effects all contexts). Examples of a properly
configured web.xml can be found in the Lucee Express edition or the
Installer release.Hope this helps.
–
Kind regards,
Jordan Michaels
Vivio Technologies----- Original Message -----
From: “mee nothus” <mitchy...@gmail.com <javascript:>>
To: “Lucee” <lu...@googlegroups.com <javascript:>>
Sent: Friday, July 1, 2016 7:52:22 AM
Subject: Re: [Lucee] mod_cfml on OSXHi Mark
I’m trying to get lucee working on OSX like how it works on linux and
windows when using multiple sites1) What are you trying to achieve?
a) Single site e.g. http://mydomain.com
b) A few completely different sites
c) Dynamically adding new sites all the time2)
I followed this guide for setting up luceehttp://docs.lucee.org/guides/running-lucee/osx/installing-tomcat-and-lucee-on-os-x-using-the-lucee-war-file.html
which works fine when dealing with a single site or manually putting the
sites in the server.xmlfor trying to setup mod_cfml
I downloaded mod_cfml.so http://www.modcfml.org/index.cfm/downloads/
added
it to libexec/apache2/Added this to the apache2.conf
LoadModule modcfml_module libexec/apache2/mod_cfml.so
CFMLHandlers “.cfm .cfc .cfml”
ModCFML_SharedKey
“76c43034609fee147368dad078241c29d0581d3029efe88e226a8ce5efe67e6c”<Proxy *> Allow from 127.0.0.1 </Proxy> ProxyPreserveHost On ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ http://127.0.0.1:8080/$1$2 ProxyPassMatch ^/(.+\.cfchart)(/.*)?$ http://127.0.0.1:8080/$1$2 ProxyPassMatch ^/(.+\.cfml)(/.*)?$ http://127.0.0.1:8080/$1$2 ProxyPassReverse / http://127.0.0.1:8080/
httpd-vhosts.conf
<VirtualHost *:80>
DocumentRoot "/Users/mitch/Documents/lucee" ServerName lucee.local ErrorLog "/private/var/log/apache2/lucee-error_log" CustomLog "/private/var/log/apache2/lucee-access_log" common <Directory "/Users/mitch/Documents/lucee"> Options All AllowOverride All Require all granted </Directory>
<VirtualHost *:80>
DocumentRoot "/Users/me/Documents/lucee2" ServerName lucee2.local ErrorLog "/private/var/log/apache2/lucee2-error_log" CustomLog "/private/var/log/apache2/lucee2-access_log" common <Directory "/Users/me/Documents/lucee2" > Options All AllowOverride All Require all granted </Directory>
put mod_cfml-valve_v1.0.22.jar in tomcat lib folder
added this to tomcat server.xml
<!-- SingleSignOn valve, share authentication between web
applications
Documentation at: /docs/config/valve.html →
<!-- Access log processes all example. Documentation at: /docs/config/valve.html Note: The pattern used is equivalent to using
pattern=“common”
→
<Valve className=“mod_cfml.core”
loggingEnabled=“false”
maxContexts=“200”
timeBetweenContexts=“2000”
scanClassPaths=“false”
sharedKey=“76c43034609fee147368dad078241c29d0581d3029efe88e226a8ce5efe67e6c”/>
3)
it doesn’t seem to create the WEB-INF folder and just seems to serve blank
cfml pagesOn Friday, July 1, 2016 at 2:57:04 PM UTC+1, Mark Drew wrote:
As usual, for these types of question, I would like to ask:
- What are you trying to achieve?
a) Single site e.g. http://mydomain.com
b) A few completely different sites
c) Dynamically adding new sites all the time- What did you try?
- What happened?
The reason I ask is that your question is pretty open, and yeah, I got
mod_cfml working but I have noticed that 70% of the time people don’t
even
need it.Many regards and salutations
Mark Drew
On 1 July 2016 at 13:35:54, mee nothus (mitchy...@gmail.com <javascript:>) wrote:
has anyone got mod_cfml setup with tomcat/lucee/apache i’ve been trying
to
get this working but am running into difficulties wondering if anyone
has
any pointers or a guide or if indeed it is possibleThanks
Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…You received this message because you are subscribed to the Google
Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com
<javascript:>.
To view this discussion on the web visithttps://groups.google.com/d/msgid/lucee/6b0d0021-ad51-4dd8-84fb-b2eeb9988855%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.–
Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>.To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/25617a98-567b-4a0f-ace1-d43899164a1f%40googlegroups.com.For more options, visit https://groups.google.com/d/optout.