Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I hide the .cfm extension of my pages?

extension Hide pages
0
10 Posted

Can I hide the .cfm extension of my pages?

0
10

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123