WAMP and Lucee fresh install and 403 error after mod_cfml
106 views
Skip to first unread message
Matthew Davis
unread,
Jun 24, 2016, 3:32:23 AM6/24/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Lucee
I'm trying my best to go full Lucee and hitting a wall. Any help would be greatly appreciated. So I did fresh install of my OS and I figured I'd spruce up my local dev environment.
I got my hands on a copy of WAMP server version 3 which comes with Apache 2.4 and install successfully and can serve up pages just fine.
I go and grab myself a copy of Lucee 5, install and in just the same way Tomcat is up and running and serving up pages just as fine.
Now for the tricky bit:
I get a copy of mod_cfml and put that into the apache modules folder, I then go on to make these additions to the httpd.conf file:
<Proxy *> # When using Apache 2.2, use the following line (without the "# ") # Allow from 127.0.0.1 # When using Apache 2.4, use this line (without the "# ") Require ip 127.0.0.1 </Proxy> ProxyPreserveHost On ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ ajp://localhost:8009/$1$2
LoadModule modcfml_module modules/mod_cfml.so CFMLHandlers ".cfm .cfc .cfml" ModCFML_SharedKey "fancyspecialkeygoeshere" # Optional, all for logging and debugging: # LogHeaders true # LogHandlers true # LogAliases true # VDirHeader false
This is coming straight off of mod_cfml's installation instructions.
Lucee comes with the mod_cfml valve jar already installed, and I've tried with both the initially installed and a copy from mod_cfml website. Regardless the .jar is installed and I make this change to server.xml:
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Lucee
My apologies, from my reading this seemed to be a common enough error in
this situation that I thought it was ubiquitous. I'll think better of
that next time The error is:
403 Forbidden (AH01630: client denied by server configuration)
Now
that isn't the most helpful error I've ever seen either, but it might
narrow down ideas. For the time being I've maneuvered around the issue,
by changing Apache's port to 8079 and Tomcat to 80 and then I threw this
virtual host into server.xml:
So
I can store the files within my WAMP root and Tomcat is serving,
however that was not the intended outcome. I wanted Apache to serve
everything and Tomcat to only get involved in the CFML, I believed (and
still do) that this was the sole purpose of mod_cfml was, I just don't
seem to be experienced enough with server set ups to see where I am
getting in the way of this working.
Jordan Michaels
unread,
Jun 27, 2016, 4:38:52 AM6/27/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lu...@googlegroups.com
Hi Matthew,
That error is purely an Apache error and has nothing to do with mod_cfml. You can fix it by updating your Apache configuration:
--
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.
To post to this group, send email to lu...@googlegroups.com.