Unable to change Lucee Express' webroot directory


#1

Hi all,

I’ve been searching in google, the docs and this forum and haven’t been able to find a way to change the webroot directory for Lucee Express. I tried changing the appBase on the <Host> to my webroot, but that didn’t work. Am I missing something very obvious? Any help would be greatly appreciated.

Thanks,


#2

In case anyone else is having this issue in order to change the webroot of lucee express you need to add a <Context> tag under the <Host> tag in the conf/server.xml file.
It would look something like this: <Context path="" docBase="/Path/to/new/webroot">
That should do the trick