Lucee Web Root

We want to change the webroot folder of lucee. Is it as simple as changing it in the overview option in the administrator? We have a mismatch in directories between our dev and production environments and there is one that uses a path and when we copy to production we have to manually update the path.

Don’t forget to tell us about your stack!

OS: Windows
Java Version: ???
Tomcat Version: ???
Lucee Version: ???

No, you don’t change the webroot in the Lucee Administrator. It depends on your installation and configuration. Try changing the webroot within your webserver. Of you are using mod_cfml the changes will probably be identified by mod_cfml who should update the changes. If not, Then go to
path-to-,lucee-installation/tomcat/conf/catalina/ and look for the directory of the affected site, open the ROOT.xml, make the changes and restart Tomcat.

Sorry for the delay. When i said webroot, i don’t mean the root of the lucee server, but just the webroot of where our application files are stored. We have a name mismatch between production and dev.

Hi @timefliesmia , could you share the paths you are currently using on production and dev, and show us what the mismatch is?

sure, example
development: c:/websites/dev_admin
production c:/websites/admin
we want to update the path in development to match production.

This is typically done through the configuration of the tomcat/webserver instances you are running (server.xml and/or tomcat/config/catalina/[hostname]/ROOT.xml