Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ColdFusion9 - uppercase file extension .CFM

New Here ,
Jan 18, 2011 Jan 18, 2011

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

1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 18, 2011 Jan 18, 2011

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/

Translate
Community Expert ,
Jan 18, 2011 Jan 18, 2011

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/

Dave Watts, Eidolon LLC
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 18, 2011 Jan 18, 2011
LATEST

Dave

Thanks for quick reply and you're right too.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jan 18, 2011 Jan 18, 2011

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources