Answered
W2K8 Server Core, IIS 7, CF 8.0.1 and wsconfig
We have CF 8.0.1 (x64) installed onto W2K8 Server Core and
IIS 7 (x64). (See code section for IIS 7 install command and CF
silent installer.properties.) Remember, 2008 Core does not have a
GUI, it's all command line.
We can view the default IIS page on port 80, and CF Admin on port 8500.
When we run the web server configurator (wsconfig) it throws a Java error about "side-by-side configuration".
Adobe support initially claimed the install was 32-bit until they walked us through 2 installs (one for standalone and the other for jrun), before they were convinced it was 64-bit.
Adobe support is currently (I hope) investigating why wsconfig throws a Java error when trying to configure IIS 7 for a connection from CF 8.0.1. Adobe support suggested that we complete the configuration manually and pointed us to some documentation:
1) http://www.adobe.com/products/coldfusion/faq/
2) http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402572
3) http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=00001755.htm
4) http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19575&sliceId=2
5) http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19575
6) http://www.communitymx.com/content/article.cfm?page=7&cid=224AA
What we need to do to complete the config is:
1) Configure the IIS Web Service Extensions for CF (jrunwin32.dll and jrun_iis6_wildcard.dll)
2) Configure the File Mappings (*.cfm, *.cfc, etc,)
Defining 'index.cfm' as a default document, at a global level is straightforward:
appcmd.exe set config /section:defaultDocument /enabled:true /+files.[value='index.cfm']
But the other 2 steps are more complex. Commands we are using are along the lines of:
REM adds web service extension (first security, then isapi filter)
appcmd.exe set config /section:system.webServer/security/isapiCgiRestriction /+"[path='%systemdrive%\Coldfusion8\runtime\lib\wsconfig\jrun_iis6.dll',allowed='True',groupId='Macromedia',description='Macromedia Server Extensions']"
appcmd.exe set config /section:system.webServer/security/isapiCgiRestriction /+"[path='%systemdrive%\Coldfusion8\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dll',allowed='True',groupId='Macromedia',description='Macromedia Server Extensions']"
appcmd.exe set config /section:system.webServer/isapiFilters /+"[name='Macromedia Server Extensions',path='%systemdrive%\Coldfusion8\runtime\lib\wsconfig\jrun_iis6.dll']"
REM the following needs a unique name
REM appcmd.exe set config /section:system.webServer/isapiFilters /+"[name='Macromedia Server Extensions',path='%systemdrive%\Coldfusion8\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dll']"
REM add file mappings (needs a path to a dll, which one?)
appcmd.exe set config /section:system.webServer/handlers /+[name='ISAPI-cfm',path='*.cfm',verb='*',modules='IsapiFilterModule',resourceType='File',requireAccess='Execute']
Any help with getting the IIS 7 configred for CF would be greatly appreciated.
Kenneth
We can view the default IIS page on port 80, and CF Admin on port 8500.
When we run the web server configurator (wsconfig) it throws a Java error about "side-by-side configuration".
Adobe support initially claimed the install was 32-bit until they walked us through 2 installs (one for standalone and the other for jrun), before they were convinced it was 64-bit.
Adobe support is currently (I hope) investigating why wsconfig throws a Java error when trying to configure IIS 7 for a connection from CF 8.0.1. Adobe support suggested that we complete the configuration manually and pointed us to some documentation:
1) http://www.adobe.com/products/coldfusion/faq/
2) http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402572
3) http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=00001755.htm
4) http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19575&sliceId=2
5) http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19575
6) http://www.communitymx.com/content/article.cfm?page=7&cid=224AA
What we need to do to complete the config is:
1) Configure the IIS Web Service Extensions for CF (jrunwin32.dll and jrun_iis6_wildcard.dll)
2) Configure the File Mappings (*.cfm, *.cfc, etc,)
Defining 'index.cfm' as a default document, at a global level is straightforward:
appcmd.exe set config /section:defaultDocument /enabled:true /+files.[value='index.cfm']
But the other 2 steps are more complex. Commands we are using are along the lines of:
REM adds web service extension (first security, then isapi filter)
appcmd.exe set config /section:system.webServer/security/isapiCgiRestriction /+"[path='%systemdrive%\Coldfusion8\runtime\lib\wsconfig\jrun_iis6.dll',allowed='True',groupId='Macromedia',description='Macromedia Server Extensions']"
appcmd.exe set config /section:system.webServer/security/isapiCgiRestriction /+"[path='%systemdrive%\Coldfusion8\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dll',allowed='True',groupId='Macromedia',description='Macromedia Server Extensions']"
appcmd.exe set config /section:system.webServer/isapiFilters /+"[name='Macromedia Server Extensions',path='%systemdrive%\Coldfusion8\runtime\lib\wsconfig\jrun_iis6.dll']"
REM the following needs a unique name
REM appcmd.exe set config /section:system.webServer/isapiFilters /+"[name='Macromedia Server Extensions',path='%systemdrive%\Coldfusion8\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dll']"
REM add file mappings (needs a path to a dll, which one?)
appcmd.exe set config /section:system.webServer/handlers /+[name='ISAPI-cfm',path='*.cfm',verb='*',modules='IsapiFilterModule',resourceType='File',requireAccess='Execute']
Any help with getting the IIS 7 configred for CF would be greatly appreciated.
Kenneth
