AppCmd

AppCmd

--Create
C:\Windows\System32\inetsrv\appcmd add apppool /name:"IBM Cognos 10"  /managedRuntimeVersion:"v4.0" /managedPipelineMode:Integrated
--Stop
C:\Windows\System32\inetsrv\appcmd stop apppool /apppool.name:"IBM Cognos 10"
--Config enable32BitAppOnWin64
C:\Windows\System32\inetsrv\appcmd set apppool "IBM Cognos 10" /enable32BitAppOnWin64:true
--STop
C:\Windows\System32\inetsrv\appcmd start apppool /apppool.name:"IBM Cognos 10"
--Create Virtual Directory
C:\Windows\System32\inetsrv\appcmd add vdir /app.name:"Default Web Site/" /path:/ibmcognos /physicalPath:"D:\Program Files (x86)\ibm\cognos\c10\webcontent"
--Create Application
C:\Windows\System32\inetsrv\appcmd add app /site.name:"Default Web Site" /path:/ibmcognos/cgi-bin /physicalPath:"D:\Program Files (x86)\ibm\cognos\c10\cgi-bin"
--Create new Module Mapping
C:\Windows\System32\inetsrv\appcmd set config /section:handlers /+[name='IBMCOGNOS-CGI',path='cognos.cgi',modules='cgiModule',scriptProcessor='',verb='GET,HEAD,POST',resourceType='File',requireAccess='Execute']
--isapiCgiRestriction
C:\Windows\System32\inetsrv\appcmd set config /section:isapiCgiRestriction /+"[path='D:\Program Files (x86)\ibm\cognos\c10\cgi-bin\cognos.cgi',description='IBMCOGNOS-CGI',allowed='True']"
0 Comments
Leave A Comment

Please login to post your valuable comments.

Join the newsletter

Get the latest vLemonn news first

share