Hi Guys, migrating a site here from Railo v4 up to latest stable Lucee 5.3.8.201 (using installer, so tomcat 9 and java bundled) - all working well apart from an index.cfm page we have at the root of our site that does this:
<cflocation url="/home/view" addtoken="false">
Instead of redirecting as it did in Lucee, it now shows a page saying:
‘Object Moved’ and does nothing? - the same is true for any other pages we have that use CFLOCATION
Is there an obvious config change here or has this functionality changed?
Its very odd, this server was built yesterday so it only has IIS and Lucee installed (using the installer mentioned). I did also have IIS rewrite installed (microsoft) - tried removing that but made no difference…
I tried creating a test.cfm with the above code in the Lucee folder - C:\lucee\tomcat\webapps\ROOT and the redirect works fine! so must be IIS?
however the CURL request interestingly looked like this:
This is really odd. I know this setting is always set to be true by default, as specififed at BonCodes docs.. How did you install Lucee? Installer? Which version?
That’s right, you have to specifically add the setting to make it false. It’s not there in any of my boncode settings files, and the current Lucee installer doesn’t appear to add it:
It wasn’t there in the VivioTech installer either: