Lucee 7 not creating WEB-INF folder

I am working on setting up a site on Lucee 7, utilizing Apache24 on a Windows server. I installed mod_cfml and followed the steps documented here : mod_cfml - Installation - Apache on Centos

In my server.xml I have

type or    <Connector protocol="AJP/1.3"
	    port="8009"
	    secretRequired="false"
            redirectPort="8443" /> paste code here

and <Valve className="mod_cfml.core" loggingEnabled="false" maxContexts="200" timeBetweenContexts="2000" scanClassPaths="false" responseCode="307" sharedKey="aaa30b89cbbdce6cf1af303042e1bf8d1a7ee0f603d6dd25b3222e252a48" /> </Host>

In my http.conf I have

ProxyPreserveHost On
ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ ajp://localhost:8009/$1$2
LoadModule modcfml_module modules/mod_cfml.so
CFMLHandlers ".cfm .cfc .cfml"
ModCFML_SharedKey "aaa30b89cbbdce6cf1af303042e1bf8d1a7ee0f603d6dd25b3222e252a48"
# Optional, all for logging and debugging:
# LogHeaders true
# LogHandlers true
# LogAliases true
# VDirHeader false

Apache and Lucee are both running as a service that has admin privileges, including read/write privileges to the relevant folders.

My httpd-vhosts.conf is pointed at the correct directory for my site.

My site comes up. I am able to access my /index.cfm via browser and see the code that I expect to see. I also see the correct URL and correct webroot for my site’s web context in the Lucee Administrator.

However, no WEB-INF folder is being created in my site’s folder.

Here are some things I’ve already tried without success:

  • First did my install using jdk-21.0.10+7, but then did a fresh reinstall of Lucee using only the native jre.
  • Cleared felix cache
  • Changed folder permissions to “Everyone” having full control
  • Experimented with loading a different version of the Tomcat Valve jar (attempted v1.1.11 and v2)
  • Probably more things too but that’s the main stuff I thought to try

My server.xml, web.xml, httpd.conf, httpd-vhost.conf all look correct to me and I haven’t seen anything that stands out to me in the logs. Can someone help me figure out what I’m missing?
Thank you

Lucee 7 doesn’t create a WEB-INF as it’s single mode only, so it’s not required

All the stuff you’d previously find under WEB-INF is now securely outside the webroot under lucee-server.

And that is why we ask an expert. Thanks!

1 Like