Copy link to clipboard
Copied
I am upgrading CF2016 applications to CF2021. I am using and extending Adobe CF2021 latest Docker image.
I am able to create extended CF2021 Docker image and log in to the CF Adminstrator.
I am also able to build my application Docker image using that extended CF2021 Docker image.
The application does start. However on my home page, all image, css, and javascript files referenced return 404 Resource Not Found. Not understanding why that is. All file references are using relative pathing which worked in CF2016.
Thank you
Copy link to clipboard
Copied
When you view the generated source, what do the fully-qualified file paths look like in your browser's Network tab within Developer Tools?
Dave Watts, Eidolon LLC
Copy link to clipboard
Copied
Thanks for the feedback!
http://localhost:8500/Stylesheet/FIR.css vs should be http://localhost:8500/tlc/Stylesheet/FIR.css
/opt/coldfusion/cfusion/wwwroot/tlc
How are these CF scripts to be referenced?
/opt/coldfusion/cfusion/wwwroot/cf_scripts/scripts/cfform.js 404 Resource Not Available
var runtimeObj = createObject("component", "cfide.adminapi.runtime");
runtimeObj.setRuntimeProperty("CFFormScriptSrc", "/cf_scripts/scripts/");