.cfm file displayed as raw code [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this questioni have a .cfm file on my website but when i open it in a browser it is displayed as a raw code instead of par开发者_开发百科sing can anyone help ?
I am using a remotely hosted webserver
Make sure your server supports ColdFusion and that it's enabled, and that the web server configuration is set to pass files with the .cfm
suffix to its handler.
have you have installed CF in window2008r2? If so, CF cannot completely installed and configured ISAPI at back-end.
We need to install or turn on for ISAPI extensions and ISAPI filters as follow.
Administrative Tools > Server Manager
Server Manager Box will come out (screen-1). If ISAPI extensions and ISAPI filters are not installed under Web Server (IIS), we need to click Add Roles Services at the right side.
Once we’ve done clicking on Add Roles Services, Add Roles Services box will come out (Screen-2) and you will see ISAPI extensions and ISAPI filters are uncheck as not installed (In Screen-16, they both are checked as installed because of we’ve encountered this problem and which are installed already) under Application Development. To click on ISAPI extensions and ISAPI filters and click on install button. We need to restart IIS if necessary.
精彩评论