Copy link to clipboard
Copied
I have a Windows 2008 R2 server, IIS7, Coldfusion 9.0.2. I created a 2nd CF instance, created an IIS website, used the web server configuration tool to bind the IIS website to the CF instance. Restarted IIS & CF windows services. It does not work as expected. It does not look like the IIS website is actually bound to the 2nd CF instance. With both the Windows IIS service and the new CF service running, I am able to hit the website and click around it.I then stop the CF service and the website still works. I would expect the website to not work when the CF Windows service was stopped. Any ideas as to what is going on? Thanks ~Joe~ Here are the steps I did to create everything
|
Copy link to clipboard
Copied
The issue was when the web config tool create the handler mappings in IIS they were pointing to the wrong files. I went into IIS, clicked on the site in question, clicked Handler Mappings which showed these, as well as others
* - D:\apps\JRun4\lib\wsconfig\1\jrun_iis6_wildcard.dll
*.cfc - D:\apps\JRun4\lib\wsconfig\3\jrun_iis6_wildcard.dll
*.cfm - D:\apps\JRun4\lib\wsconfig\3\jrun_iis6_wildcard.dll
*.cfml - D:\apps\JRun4\lib\wsconfig\3\jrun_iis6_wildcard.dll
This is the 3rd site so the * Wildcard needed to point to the wsconfig/3 folder. I changed the mappings to this which got it to work
* - D:\apps\JRun4\lib\wsconfig\3\jrun_iis6_wildcard.dll
*.cfc - D:\apps\JRun4\lib\wsconfig\jrun_iis6.dll
*.cfm - D:\apps\JRun4\lib\wsconfig\jrun_iis6.dll
*.cfml - D:\apps\JRun4\lib\wsconfig\jrun_iis6.dll