If you are unable to create a new account, please email support@bspsoftware.com

 

Cognos10 with Apache server... ??? someone please help me???

Started by jayanthhyd, 28 Jan 2011 07:54:11 AM

Previous topic - Next topic

jayanthhyd

Steps for Apache Server 2.2.x and IBM HTTP Server 7.0

 
      Go to the Apache_installation/conf directory.
   5.

      Open the httpd.conf file in an editor.
   6.

      For successful portal integration, ensure that both SERVERNAME and SERVER_PORT are specified in the ServerName property.
   7.

      Add the following to the end of the load module list:

      LoadModule cognos_module "c10_location/cgi-bin/mod2_2_cognos.suffix"

      where suffix is as listed in the following table:

      Operating system
         

      Suffix

      Windows®
         

      dll

      Solaris, AIX
         

      so

      HP-UX PA-RISC
         

      sl

      HP-UX IA, Linux®
         

      so

   8.

      Add the following Apache Directive:

      ScriptAlias /ibmcognos/cgi-bin "c10_location/cgi-bin"

      Alias /ibmcognos "c10_location/webcontent"

      <Directory "c10_location/webcontent">

      Options Indexes MultiViews

      </Directory>

      The <Directory> directive is optional.

      Tip: Ensure that you define the ibmcognos/cgi-bin alias before the ibmcognos alias.
   9.

      Add the following Apache Directive:

      ScriptAlias /ibmcognos/cgi-bin " c10_location/cgi-bin"

      Alias /ibmcognos "c10_location/webcontent"

      <Directory "c10_location/webcontent">

      Options Indexes MultiViews

      AllowOverride None

      Options None

      Order allow,deny

      Allow from all

      </Directory>

      <Directory "c10_location/cgi-bin">

      AllowOverride None

      Options None

      Order allow,deny

      Allow from all

      </Directory>
  10.

      Add the following to the server status reports section:

      <Location /ibmcognos/cgi-bin/cognos_module>

        SetHandler cognos-handler

      Order allow,deny

      Allow from all

      </Location>

      Enter the code exactly as specified, including the cognos_module string.
  11.

      To enable the gateway diagnostic page, add the following to the server status reports section:

      <Location /ibmcognos/cgi-bin/diag_cognos_module>

        SetHandler cognos-handler

      Order allow,deny

      Allow from all

      </Location>

      Enter the code exactly as specified, including the diag_cognos_module string.
  12.

      Add the following to the user directory section:

      <IfModule mod2_2_cognos.c>

        CGIBinDir "c10_location/cgi-bin"

      </IfModule>

  13.

      Save and close the file.
  14.

      Start the Web server.
  15.

      Users must then specify the Apache module URI in their browser, as follows

      http://host_name:port/ibmcognos/cgi-bin/cognos_module

      The cognos_module string must be entered exactly as specified.

      For example,

      http://123.432.154.12:5562/c10/cgi-bin/cognos_module

"http://publib.boulder.ibm.com/infocenter/cfpm/v10r1m0/index.jsp?topic=/com.ibm.swg.im.cognos.cp_inst_cr_winux.10.1.0.doc/cp_inst_cr_winux_id11149ConfigureApachegateway.html"


I tried it i changed to

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

Alias /ibmcognos "C:/Program Files/ibm/cognos/c10/webcontent"

<Directory "C:/Program Files/ibm/cognos/c10/webcontent">

Options Indexes MultiViews

AllowOverride None

Options None

Order allow,deny

Allow from all

</Directory>

<Directory "C:/Program Files/ibm/cognos/c10/cgi-bin">

AllowOverride None

Options None

Order allow,deny

Allow from all

</Directory>


<C:/Program Files/ibm/cognos/c10/cgi-bin/c10_location/cgi-bin/mod2_2_cognos.suffix>

  SetHandler cognos-handler

Order allow,deny

Allow from all

</C:/Program Files/ibm/cognos/c10>


<C:/Program Files/ibm/cognos/c10/cgi-bin/diag_c10_location/cgi-bin/mod2_2_cognos.dll>

  SetHandler cognos-handler

Order allow,deny

Allow from all

</C:/Program Files/ibm/cognos/c10>


jayanthhyd


MFGF

Quote from: jayanthhyd on 28 Jan 2011 07:54:11 AM

<C:/Program Files/ibm/cognos/c10/cgi-bin/c10_location/cgi-bin/mod2_2_cognos.suffix>

Just a quick observation - the above looks incorrect to me.  When the documentation refers to "c10_location", it is alluding to the folder structure into which you installed your Cognos 10 instance.  When it refers to suffix, you should have a different suffix for each platform type (eg dll for Windows).  This would mean the above entry should be:

<C:/Program Files/ibm/cognos/c10/cgi-bin/mod2_2_cognos.dll>

MF.
Meep!

jayanthhyd

sorry thts the mistake i dint observe.. After changes made:

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

Alias /ibmcognos "C:/Program Files/ibm/cognos/c10/webcontent"

<Directory "C:/Program Files/ibm/cognos/c10/webcontent">

Options Indexes MultiViews

AllowOverride None

Options None

Order allow,deny

Allow from all

</Directory>

<Directory "C:/Program Files/ibm/cognos/c10/cgi-bin">

AllowOverride None

Options None

Order allow,deny

Allow from all

</Directory>


<location ibmcognos/c10/cgi-bin/cognos_module>

  SetHandler cognos-handler

Order allow,deny

Allow from all

</location>


<location ibmcognos/c10/cgi-bin/diag_cognos_module>

  SetHandler cognos-handler

Order allow,deny

Allow from all

</location>


<IfModule mod2_2_cognos.c>

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

</IfModule>

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


If possible if u dont mind will you please go to this link:"http://publib.boulder.ibm.com/infocenter/cfpm/v10r1m0/index.jsp?topic=/com.ibm.swg.im.cognos.cp_inst_cr_winux.10.1.0.doc/cp_inst_cr_winux_id11149ConfigureApachegateway.html" and make changes to it and post to me... I am trying from 3 days...