Configure the web server
You must set up virtual directories, also known
as web aliases, for the directories that contain the HTML and web files for
IBM® Cognos Controller.
Before you begin
Procedure
- Click Start > Control Panel > Programs and Features.
- Click Turn Windows features on or off.
- Click Server Manager > Roles > Web Server (IIS).
- In Role Services, if HTTP Redirection is set to Not installed, select HTTP Redirection and click Add Role Service.
- If CGI is set to Not installed, select CGI and click Add Role Service.
- In the Internet Information Services (IIS) Manager, select your server name.
- Double-click ISAPI and CGI Restrictions, and click Add.
- Enter the path to the cognos.cgi file.
The file is located in the ccr_location\cgi-bin directory.
Note: The variable ccr_location/ refers to the installation location of IBM Cognos Controller. The default Controller installation location is C:\Program Files\IBM\Cognos\ccr_64
You must enter the full path including the filename. If the path includes spaces, ensure that the path is enclosed in quotation marks; for example, use quotation marks as shown in the following path:
"C:\Program Files\IBM\Cognos\ccr_64\cgi-bin\cognos.cgi"
- Select Allow extension path to execute, and click OK.
- Select Application Pools.
- Select Add Application Pool.
- Set the .Net Framework Version value to v2.0.50727.
- Enter a name for the application pool and click OK.
- Click Advanced Settings.
- Ensure that the .Net Framework Version value to v2.0.
- Ensure that the Enable 32-Bit Applications value is set to False (the default setting).
- Set the Identity value to LocalSystem.
- Click OK.
- Expand Sites and, under your web
site, create the following virtual directories as shown in the table.
Table 1. Required virtual directories Alias Location ibmcognos
ccr_location/webcontent ibmcognos/cgi-bin
ccr_location/cgi-bin ibmcognos/controller
ccr_location/ccrvdir ibmcognos/controllerbin
ccr_location/webcontent/ccr ibmcognos/controllerhelp
ccr_location/webcontent You can use a name other than ibmcognos in the aliases. However, you must use cgi-bin as the second part of the alias, including the virtual directory in the Gateway URI property to match the new Cognos® alias.
Remember: If you use ibmcognos in the web aliases and embed the aliases within other applications, such as Microsoft Excel reports, should you upgrade to a future version of IBM Cognos Controller, you must also update the embedded aliases. - Select the cgi-bin virtual directory you created.
- Double-click Handler Mappings.
- Under Actions, click Add
Module Mapping.
- In Request Path, type cognos.cgi.
- In Module, type CgiModule.
- Leave Executable (optional) blank.
- In Name, enter a name for the entry, such as CognosCGI.
- Click OK.
- Right-click the ibmcognos virtual directory, and click Add
Application.
- In the Alias box, type controllerserver.
- In the Physical path box, enter ccr_location/ControllerProxyServer
- Select the controller virtual directory.
- Double-click HTTP Redirect.
- Select Redirect requests to this destination,
and enter the following path:
/ibmcognos/controllerbin/ccr.exe
- Click Apply and click OK.