Monday, 14 May 2012

Configuring Cognos 10.1 with Apache 2.2 Module

Creating  Cognos Configuration   file

Step 1: Open Notepad   and paste the below content

# Apache Configuration for IBM Cognos 10.1

LoadModule cognos_module "C:/Program Files/ibm/cognos/c10/cgi-bin/mod2_2_cognos.dll"

# Set some directory aliases and security settings

ScriptAlias /ibmcognos/cgi-bin "C:/Program Files/ibm/cognos/c10/cgi-bin"
Alias /ibmcognos "C:/Program Files/ibm/cognos/c10/webcontent"


Options Indexes MultiViews
   AllowOverride None
   Options None
   Order allow,deny
   Allow from all



    AllowOverride None
    Options None
    Order allow,deny
    Allow from all


Alias /Documentation "C:/Program Files/ibm/cognos/c10/documentation"

   
    Options Indexes MultiViews
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all



# Enable the gateway diagnostics


      SetHandler cognos-handler
    Order allow,deny
    Allow from all


# Configure the user directory


  CGIBinDir "C:/Program Files/ibm/cognos/c10/cgi-bin"
 


Step 2: Save the notepad with name "Cognos.conf"  under   "C:\Program Files\Apache Software Foundation\Apache2.2\conf" folder

Step 3: Add the following line Include "C:/Program Files/Apache Software Foundation/Apache2.2/conf/cognos.conf"   to  "C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf" file

Step 4:
Open Cognos Configuration and change the  end of the `Gateway URI` from

cgi-bin/cognos.cgi to cgi-bin/mod2_2_cognos.dll

 Step 5: Restart Cognos Services and Apache HTTP Server


Step 6: Using this url  to access cognos http://servername/ibmcognos/cgi-bin/mod2_2_cognos.dll

1 comment:

  1. Thanks for your posting , which helped me to join cognos online training @ www.monstercourses.com

    ReplyDelete