viviotech / lucee-installer

BitRock Installer XML config and files for the Lucee installers
http://lucee.viviotech.net/
9 stars 2 forks source link

Remove extra Tomcat <host> in Lucee install's server.xml #70

Closed bdw429s closed 9 years ago

bdw429s commented 9 years ago

When installing Lucee, Tomcat's server.xml has two <host> entries even though there is only one default site. This was tripping someone up on the CFML Slack team the other day since they changed the doc root of one host but was still hitting the other.

Configure the defaulthost in the <engine> tag to point to the single-declared host so it can be hit from any hostname and will still work.

utdream commented 9 years ago

That extra host is basically a left-over from configuring the default host on Windows machines. However, I removed that in the last build because it was still throwing off some windows users and really, it's not necessary if you're using mod_cfml (which the installer does by default). So, I concur it should just be removed.

Adding this update to Lucee 4.5.1.022 patch level 1.