Replacing the default filename causes errors in stderr logs


#1

Hello to all.

I have another issue that I am hoping someone can help me with.

I don’t use index.cfm as my default doc. I use a different filename – that does not use the .cfm extension.

To make that work, I set up a handler mapping in IIS. Then, in web.xml, I adjusted the <servlet-mapping> and <welcome-file-list> to include this new default document filename.

And it works fine. All I need to do is drop the new default doc into the root of the webs, and everything works fine.

But, in the lucee-stderror files, I see many lines that read like this:

lucee.runtime.exp.MissingIncludeException: Page /index.cfm [D:\some\path\to\some\webroot\index.cfm] not found

…and that’s because I am not using index.cfm

So, even though the sites load with my custom default doc, and I have defined that doc in <servlet-mapping> and <welcome-file-list>, Lucee is still apparently looking for index.cfm.

Why is that, and how to make that stop?

I am using the Boncode Connector, btw.

Thanks for your help. :slight_smile: