• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

send .html page requests to ColdFusion Application Server

Advocate ,
Mar 01, 2007 Mar 01, 2007

Copy link to clipboard

Copied

The way that I understand things, web browsers send all thier page requests to the web server, which in turn identifies which pages need to be processed by an application server (i.e. CFM, ASP, etc) and sends the request to the appropriate application server. The application server then processes the request and returns HTML (usually) and the web server then presents this to the client. Is it possible to change a setting so that .html or .htm files are send to coldfusion for processing in addition to .cfml files (in Microsoft IIS)? If so, does anyone know of a howto article out there? Just curious.

TOPICS
Advanced techniques

Views

399

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Advocate , Jun 07, 2007 Jun 07, 2007
Just found this article about using ISAPI rewrite to accomplish a number of wonderful transformations. Chiefly:

http://host/somepage.html -> http://host/somepage.cfm

and

http://host/somepage/varvalue -> http://host/somepage.cfm?var1=varvalue

http://www.bpurcell.org/blog/index.cfm?mode=entry&entry=1070

Votes

Translate

Translate
LEGEND ,
Mar 01, 2007 Mar 01, 2007

Copy link to clipboard

Copied

YES and NO, not off the top of my head.

To be a little more expansive. You you can change what extensions get
sent to the app server for processing. Exactly how depends on exactly
which version of IIS and ColdFusion one is running, but basically it is
IIS settings that say what to do with each file extension requested.
Google should turn up something if one is diligent.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jun 07, 2007 Jun 07, 2007

Copy link to clipboard

Copied

LATEST
Just found this article about using ISAPI rewrite to accomplish a number of wonderful transformations. Chiefly:

http://host/somepage.html -> http://host/somepage.cfm

and

http://host/somepage/varvalue -> http://host/somepage.cfm?var1=varvalue

http://www.bpurcell.org/blog/index.cfm?mode=entry&entry=1070

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation