0

I recently installed CF2018 update 9. IIS is serving the applications I had in virtual directories normally, with the exception of CFIDE. Attempts to access localhost/CFIDE/administrator/index.cfm result in empty HTTP responses, with Content-Length:0 headers. The admin page is accessible through localhost:8500/CFIDE/administrator/index.cfm, which is (I think) just reaching out Tomcat directly. So I am wondering if anyone knows what the culprit for a blank administrator page when served via IIS might be? It worked before the update.

FWIW I have checked the handler mappings and they point to the same DLL as the applications that are properly being served (that is, .../ColdFusion2018/config/wsconfig/1/isapi_redirect.dll).

Miguel-F
  • 13,450
  • 6
  • 38
  • 63
DWR
  • 888
  • 1
  • 8
  • 15
  • Is `CFIDE` added as virtual dir to the `Default Web Site`? – Alex Apr 30 '20 at 22:34
  • yes indeed it is – DWR May 01 '20 at 00:02
  • Are Detailed Errors turned on? What's the status code returned on the blank page? – Alex May 01 '20 at 00:14
  • not certain about detailed errors; but the status code is 200 so the server appears to think everything is fine. If I put static HTML files in the CFIDE directory it *does* serve those. – DWR May 01 '20 at 12:14
  • my problem might be a feature: https://community.adobe.com/t5/coldfusion/coldfusion-administrator-is-not-being-served-up-by-iis/td-p/9354555?page=1 – DWR May 02 '20 at 16:56
  • I think you would need a virtual directory for it to work that way. localhost on port 80 I would assume is going to IIS then the CF Admin is using Tomcat on port 8500. But I actually never tried to make the admin display via IIS ever since they did the change to it coming up via Tomcat. – Snipe656 May 04 '20 at 19:44
  • You could try using the web server configuraiton tool to detach and reattach CF to IIS – volume one May 15 '20 at 10:34

1 Answers1

0

You need to add a site to IIS first, call it cf-admin or similar. You need to add a second connector to WCONFIG located here: /cfusion/runtime/bin/wsconfig.exe (run as admin).

Click ADD Leave drop downs as they are, changing the bottom one "IIS Website" to the site you just created.

Click OK and OK again to restart Expand the site in IIS you just created, right click the /jakarta vdir and check the location.

Open (location from above) /uriworkermap.properties Remove the "!" from last line, so it reads /CFIDE/* = cfusion Restart IIS and CF.

browse to the host header as configured when you created the site in IIS.

Luke
  • 1