tracker issue : CF-4198400

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

Add option to override mapping of /api directory to ColdFusion REST services

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/EnhancementRequired

Reporter/Name(from Bugbase): Chad Armond / Chad Armond ()

Created: 03/13/2017

Components: Administrator

Versions: 2016

Failure Type: Others

Found In Build/Fixed In Build: /

Priority/Frequency: Normal /

Locale/System: /

Vote Count: 6

In ColdFusion 2016, the /api directory is mapped to the CFRestServlet.  If an application already has a custom API solution deployed to the /api directory, it will not work unless the mapping is removed from the web.xml file.  I propose that the ColdFusion administrator be updated to allow this mapping to be disabled through the UI instead of a manual manipulation of the web.xml file.



Alternatively, you could just add the mappings _only_ if the user when installing ColdFusion explicitly chooses to also install the API manager.
Comment by John W.
1099 | April 07, 2017 11:26:37 AM GMT
Vote by John W.
1103 | April 07, 2017 11:26:50 AM GMT
Related ticket:
Comment by John W.
1100 | April 07, 2017 11:42:16 AM GMT
Took me a few hours to figure this out. First I thought it was me, then I thought it was IIS, then I thought it was Tomcat... You get it. I have the API manager turned off and I don't use the REST services (no mapping). Can this simply be turned off?
Vote by David B.
1104 | April 13, 2017 11:26:26 PM GMT
You have my vote as well. Just ran into this issue on a few of my websites when something stopped working in the /api/ directory. Just a blank white page, nothing else. That was a difficult one to figure out.
Comment by Dave C.
1101 | February 09, 2018 05:52:19 PM GMT
We will be tracking this fix as part of the bug CF-4181591
Comment by Vamseekrishna N.
1102 | March 07, 2018 03:18:47 PM GMT
This actually started with CF11 update 11, it seems. And yep, it causes lots of heartburn.
Vote by Charlie A.
27554 | April 14, 2018 06:54:45 PM GMT