Charles Robertson
02/29/2024, 11:42 AMlucee-stderr.2024-02-27.log, this morning, because I am trying to remove a few bugs, from my Lucee set-up, and I noticed this:
lucee.runtime.exp.MissingIncludeException: Page /index.cfm [C:\domains\circlemaker.establishmindfulness.com\wwwroot\index.cfm] not found
Now, this is correct because there is no index.cfm, in this directory. It actually points to an Angular website, that only has an index.html.
I may want to add some CFML functionality to this website, later on, which is why I have added a host entry in server.xml, like:
<Host name="circlemaker.establishmindfulness.com" appBase="webapps">
<Context path="" docBase="C:\domains\circlemaker.establishmindfulness.com\wwwroot\" />
<Alias>circlemaker.establishmindfulness.com</Alias>
</Host>
In my web.xml, I have the following:
<welcome-file-list>
<welcome-file>index.cfm</welcome-file>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
</welcome-file-list>
Which I thought might prevent the error above? But, clearly this is not the purpose of the <welcome-file-list>
By the way, if I try and add an empty index.cfm file, in the directory, my website just displays a blank page, because it seems like index.cfm takes precedence over index.html. If I change the order of the <welcome-file-list>, I am worried that all my other websites, which are CFML based, will start throwing exceptions that there is a missing index.html file?
But I am not even sure whether the <welcome-file-list> has anything to do with this issue, anyway?
Or maybe I should just remove the host entry in server.xml, and just rely on IIS to serve this website?
Does anyone know how I can prevent this Exception, from being thrown, in future?
Environment:
Windows 2019
IIS10
Lucee 5.3.9.166bdw429s
02/29/2024, 2:06 PMbdw429s
02/29/2024, 2:07 PMbdw429s
02/29/2024, 2:07 PMbdw429s
02/29/2024, 2:07 PMbdw429s
02/29/2024, 2:07 PM/foobar.cfm you'd see a similar messagebdw429s
02/29/2024, 2:07 PMbdw429s
02/29/2024, 2:08 PMbdw429s
02/29/2024, 2:09 PMbdw429s
02/29/2024, 2:09 PMbdw429s
02/29/2024, 2:10 PMCharles Robertson
02/29/2024, 2:13 PMbdw429s
02/29/2024, 2:14 PMCharles Robertson
02/29/2024, 2:15 PM