WAMP and Lucee fresh install and 403 error after mod_cfml

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

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:


Tomcat is aimed at port 8888 and Apache at 80

so localhost:8888 brings up the default Lucee page, and localhost brings up
the default Apache page.

However when I put a .cfm file in the Apache root at www I can’t view it, i
just get a 403 error.

Any suggestions on what I need to be doing/looking for to solve this issue?

403 is a forbidden error message. Can you review the apache error_log and see what exactly is being forbidden?–
Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “Matthew Davis” <@Matthew_Davis>
To: “Lucee” lucee@googlegroups.com
Sent: Thursday, June 23, 2016 6:28:05 PM
Subject: [Lucee] WAMP and Lucee fresh install and 403 error after mod_cfml

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

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:


Tomcat is aimed at port 8888 and Apache at 80

so localhost:8888 brings up the default Lucee page, and localhost brings up
the default Apache page.

However when I put a .cfm file in the Apache root at www I can’t view it, i
just get a 403 error.

Any suggestions on what I need to be doing/looking for to solve this issue?


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+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/c0db77f2-a11c-4960-87ae-4744c495f44b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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:

www.localhost

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.

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:

http://utdream.org/post.cfm/apache-2-4-403-forbidden-ah01630-client-denied-by-server-configuration--
Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “Matthew Davis” <@Matthew_Davis>
To: “Lucee” lucee@googlegroups.com
Sent: Saturday, June 25, 2016 6:50:29 AM
Subject: Re: [Lucee] WAMP and Lucee fresh install and 403 error after mod_cfml

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:

www.localhost

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.


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+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/b05b7a43-b063-4525-a554-09b80269ed5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.