|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
Write to html file
How do you do this?Josen Ruiseco 01/19/04 09:04 A did you make the change to the xml file?Tony Weeg 01/19/04 09:11 A Nevermind...Josen Ruiseco 01/19/04 10:16 A Josen,Tim Jackson 02/18/04 04:30 P > Please post your solution... I just ran into the exact sameDave Watts 02/18/04 05:54 P How do you do this? I went into application extensions and added .htm to be run as a .cfm page. I restarted the CF service and now I get an error message stating: SERVER ERROR: Either the Macromedia application server is unreachable or it does not have a mapping to process this request. Is there more that needs to be done? I am running MX 6.1... Thanks, Josen did you make the change to the xml file? there is an xml file that needs to be altered a bit... its not tough... Open the C:\CFusionMX\wwwroot\WEB-INF\web.xml . You can modify the extension mappings by adding these lines: <servlet-mapping> <servlet-name>CfmServlet</servlet-name> <url-pattern>*.html</url-pattern> </servlet-mapping> and replace *.html with whatever you need to extend the cf functionality too! hth tony How do you do this? I went into application extensions and added .htm to be run as a .cfm page. I restarted the CF service and now I get an error message stating: SERVER ERROR: Either the Macromedia application server is unreachable or it does not have a mapping to process this request. Is there more that needs to be done? I am running MX 6.1... Thanks, Josen Nevermind... I figured it out. Apparently it needed some config info changed and a reboot... Josen Josen, Please post your solution... I just ran into the exact same thing and got the error you mentioned. All I have done so far is map .htm to C:\CFusionMX\runtime\lib\wsconfig\jrun_iis6.dll Thanks, -Tim >Nevermind... > >I figured it out. Apparently it needed some config info changed and a reboot... > >Josen > Please post your solution... I just ran into the exact same > thing and got the error you mentioned. > > All I have done so far is map .htm to > C:\CFusionMX\runtime\lib\wsconfig\jrun_iis6.dll You will need to map the file extension in {cfusionmx}/wwwroot/WEB-INF/web.xml. Open the file, and take a look at how .cfm is mapped in there, then create a new mapping the same way. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444
|
May 16, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||