Project

General

Profile

.cfm attached files

Added by shuie y over 13 years ago

we use redmine to track development of our coldfusion website. our developers upload copies of files to the projects with a .cfm extension. The only problem is that coldfusion is running on the machine hosting redmine, and any attempt to download a .cfm file is intercepted by coldfusion and an error of 'template not found' is displayed.

Researching online, people have mentioned trying to use a 'RemoveHandler' in the vhost configuration file, but unfortunately I'm not having any luck, either because this does not work or because I am putting the directive in the wrong place.

Any help is greatly appreciated.


Replies (1)

RE: .cfm attached files - Added by Felix Schäfer over 13 years ago

That's something you should ask the coldfusion docs for. Most modules I know have a way to disable them for certain contexts (vhost, directory, …), if coldfusion doesn't have that, well, tell them you paid enough money for it that you want to be able to disable it.

Another way you could achieve this, and I got this idea from a simple google search would be to add the handler for cfm files only to the vhosts that need it and remove it globally.

    (1-1/1)