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.
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.
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