Can I hide the .cfm extension of my pages?
This tip assumes you’re running a Windows-based machine with IIS as your Web server: Without getting into too much detail, ColdFusion Server is an ISAPI-compliant application. IIS identifies all requests that need to be parsed by ColdFusion Server by noting the .CFM extension. It then passes the requested page’s contents to a ColdFusion Server DLL, which parses your code and returns the resulting output to IIS for display to the requesting client. Now for the cool part: You can have IIS treat other extensions as if they were ColdFusion scripts. The following example shows you how to configure IIS to pass .HTM extensions to the ColdFusion Server. By sticking with .HTM, the file extensions look like standard HTML-generated pages and don’t clue users in to what your back-end might be. Here we go: First, launch IIS. Right-click your Web site node and select Properties. Locate the Home Directory tab. Under Application Settings, click Configuration. Next, on the App Mappings tab, click Add.