Default doc going in circles on 127.0.0.1

I’m seeing this for the first time. Tested it with the same results, but may be I’ve never seen this before, because I never access 127.0.0.1 through IIS port 80, but directly through 127.0.0.1:8888 for administrational tasks only.

I think this issue is mod_cfml related, it is causing indefinate 307 Redirects. Here is a snippet of the access log:

127.0.0.1 - - [26/May/2020:21:09:08 -0700] "GET /index.cfm HTTP/1.1" 307 -
127.0.0.1 - - [26/May/2020:21:09:12 -0700] "GET /index.cfm?&__ HTTP/1.1" 307 -
127.0.0.1 - - [26/May/2020:21:09:14 -0700] "GET /index.cfm?&__&__ HTTP/1.1" 307 -
127.0.0.1 - - [26/May/2020:21:09:21 -0700] "GET /index.cfm?&__&__&__ HTTP/1.1" 307 -
127.0.0.1 - - [26/May/2020:21:09:23 -0700] "GET /index.cfm?&__&__&__&__ HTTP/1.1" 307 -
127.0.0.1 - - [26/May/2020:21:09:25 -0700] "GET /index.cfm?&__&__&__&__&__ HTTP/1.1" 307 -
127.0.0.1 - - [26/May/2020:21:09:29 -0700] "GET /index.cfm?&__&__&__&__&__&__ HTTP/1.1" 307 -
127.0.0.1 - - [26/May/2020:21:09:30 -0700] "GET /index.cfm?&__&__&__&__&__&__&__ HTTP/1.1" 307 -
etc.

Not really sure why, may be @Jordan_Michaels can take a look. But for now as a workaround, you could deactivate mod_cfml by editing server.xml like so:

Edit server.xml at pathToYourLuceeInstallation\tomcat\conf\server.xml, find the section of the valve mod_cfml, <Valve className="mod_cfml.core"... /> and set as a comment to <!-- Valve className="mod_cfml.core"... / --> and restart the tomcat service.
By deactivating mod_cfml, the host entries will not be created by mod_cfm anymore, and you’ll have to add them manually to your server.xml files.

Also important to know is that tomcats default 127.0.0.1 address points to its default webroot at C:\lucee\tomcat\webapps\ROOT. If you have set localhost to serve the content of C:\inetpup\wwwroot (added by cfml_mod through IIS/boncode), they won’t serve the same content. If you want both addresses to serve the same content, you’ll need to add a ROOT.xml file at
C:\lucee\tomcat\conf\Catalina\127.0.0.1\ROOT.xml with the following content:

<?xml version='1.0' encoding='utf-8'?>
<Context docBase="C:\inetpub\wwwroot\" reloadable="true">
  <WatchedResource>WEB-INF/web.xml</WatchedResource>
  <JarScanner scanClassPath="false" />
</Context>

Hope that won’t confuse you too much.