Forum Moderators: phranque

Message Too Old, No Replies

'mod_rewrite' for cold fusion

changing .cfm files into .htm

         

rfung

8:40 pm on Jan 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I understand there's a way to do this with PHP. Does anyone know if there's a way to do this with cold fusion files?

plumsauce

2:46 am on Jan 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



just change the isapi handler to include .htm
in the suffixes it will handle in addition to .cfm

rename your files .cfm and rework all references to
.htm

if you already have links out there, you may want
a default error handler that points .cfm to .htm
or you may want to keep copies of the .cfm files
hanging around.

whoops, thought i was in the iis forum.
the good news is that the approach is about
the same for apache.

only instead you should set up the CF handler
for the same thing.

sorry 'bout that.