tracker issue : CF-3982328

select a category, or use search below
(searches all categories and all time range)
Title:

IIS not displaying content of OnMissingTemplate

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): / ext-user (Chinoy Gupta)

Created: 05/06/2015

Components: Installation/Config, Connector

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: Final / CF11 Update7,CF10 Update18

Priority/Frequency: Major / All users will encounter

Locale/System: English / Win 2008 Server R2

Vote Count: 0

Listed in the version 11.0.07.296330 Issues Fixed doc
Description: When OnMissingTemplate is configued in ColdFusion Admin and when user try to access some non-existing page, OnMissingTemplate gets invoked and Tomcat returns that content. But in case of IIS, instead of showing that content IIS displays its own 404 page.

Actual Result: IIS displays its own 404 page.

Expected Result: The contents of OnMissingTemplate should be displayed.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3982328

External Customer Info:
External Company:  
External Customer Name:  
External Customer Email:

Attachments:

Comments:

Fixed. A new property is introduced in isapi_redirect.properties called iis_skip_custom_errors_enable. If set to true will skip IIS custom errors. Default value is false.
Comment by Chinoy G.
7642 | August 10, 2015 03:47:41 AM GMT
Hi Chinoy, Fixed in? CF11 or CF12? Will iis_skip_custom_errors_enable be documented? Thanks!, -Aaron P.S. Thanks for adding this feature
Comment by External U.
7643 | September 27, 2015 12:52:19 PM GMT
Aaron, it is fixed for CF12, CF11 and CF10.
Comment by Chinoy G.
7644 | September 27, 2015 09:36:06 PM GMT
Hi Chinoy, Thank you for clarifying! This good feature should also be documented. Thanks!, -Aaron
Comment by External U.
7645 | September 28, 2015 03:57:31 AM GMT
Verified this is fixed in CF11 Update 7 (build 11,0,07,296330). When IIS custom errors are enabled for a site, and when missing template handler is defined in CF Admin, then iis_skip_custom_errors_enable=true allows the missing template handler to be displayed instead of the IIS custom error page. Thanks!, -Aaron
Comment by External U.
7646 | December 03, 2015 01:23:42 AM GMT
*bump* Will iis_skip_custom_errors_enable be documented? It should be documented so people can know about it. Thanks!, -Aaron
Comment by External U.
7647 | December 03, 2015 01:27:10 AM GMT