Copy link to clipboard
Copied
Hi there,
I just recently upgrade my coldufsion 6mx to coldfusion9. On the previous version, any file extension with cfm or CFM works. With the newer version of it doesn't work. Is there a way to resolve this problem. We have hundreds of script with uppercase (CFM) file extension.
My platform is Linux .
Thanks
My guess is that you need to map .CFM to the CF server in web.xml.
http://www.talkingtree.com/blog/index.cfm/2006/2/17/CF-Custom-File-Extensions
That's just a guess, though. I would recommend as a long-term solution that you convert all of your files to lowercase extensions (and filenames for that matter).
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/
Copy link to clipboard
Copied
My guess is that you need to map .CFM to the CF server in web.xml.
http://www.talkingtree.com/blog/index.cfm/2006/2/17/CF-Custom-File-Extensions
That's just a guess, though. I would recommend as a long-term solution that you convert all of your files to lowercase extensions (and filenames for that matter).
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/
Copy link to clipboard
Copied
Dave
Thanks for quick reply and you're right too.
Copy link to clipboard
Copied
Assuming you are using Apache for your web server, you may need to add .CFM to the directive that tells Apache which files to send to CF/JRUN for processing.
It's usually at the bottom of the http.conf file.
AddHandler jrun-handler .jsp .jws .cfm .CFM .cfml .cfc .cfr .cfswf
I am just guessing here. Since it is on linux I would assume that directive is case-sensitive. But I could be wrong.