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

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Apache 404 not found

Started by fry, 28 Jul 2018 03:33:57 PM

Previous topic - Next topic

fry

Hello

I have Cognos 11.0.12 running and can access via dispatcher on Linux

Trying to configure apache 2.4 using sample in ../cgi-bin/templates cognos_apache24_loadbalance.conf  but link returns http://xxxxx-ThinkPad-W530:80/ibmcognos/bi/v1/disp 404 Not Found  :'(

Here is my cognos.conf  see any issues ?


# Licensed Materials - Property of IBM
# IBM Cognos Products: gate
# (C) Copyright IBM Corp. 2017
# US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
# this is a sample cognos.conf for Apache 2.4.  To use it, rename or
# copy it to "cognos.conf"
#

LoadModule headers_module modules/mod_headers.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule expires_module modules/mod_expires.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule filter_module modules/mod_filter.so
LoadModule slotmem_shm_module modules/mod_slotmem_shm.so
LoadModule slotmem_plain_module modules/mod_slotmem_plain.so
LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so

<IfModule mod_expires.c>
   <FilesMatch "\.(jpe?g|png|gif|js|css|json|html|woff2?|template)$">
      ExpiresActive On
      ExpiresDefault "access plus 1 day"
   </FilesMatch>
</IfModule>

<Directory /opt/ibm/cognos/analytics>
   <IfModule mod_deflate>
      AddOutputFilterByType DEFLATE text/html application/json text/css application/javascript
   </IfModule>
   Options Indexes MultiViews
   AllowOverride None
   Require all granted
</Directory>

#Set up a cluster for load-balancing
# Include all ICA servers that have the ICA Application server components installed and configured.
# Note: do not include ICA servers that are used to run the Content Manager service.
<Proxy balancer://mycluster>
   BalancerMember http://xxxxx-ThinkPad-W530:9300 route=1
#   BalancerMember http://ica-host2:9300 route=2
#   BalancerMember http://ica-host3:9300 route=3
</Proxy>

# UI to monitor/configure load balancer
<Location /ibmcognos/balancer-manager>
   SetHandler balancer-manager
</Location>

Alias /ibmcognos /opt/ibm/cognos/analytics/webcontent

RewriteEngine On
# Send default URL to service
RewriteRule ^/ibmcognos/bi/($|[^/.]+(\.jsp)(.*)?) balancer://mycluster/bi/$1$3 [P]

# Rewrite Event Studio static references
RewriteCond %{HTTP_REFERER} v1/disp [NC]
RewriteRule ^/ibmcognos/bi/(ags|cr1|prompting|ccl|common|skins|ps)/(.*) /ibmcognos/$1/$2 [PT,L]

# Rewrite Saved-Output and Viewer static references
RewriteRule ^/ibmcognos/bi/rv/(.*)$ /ibmcognos/rv/$1 [PT,L]

# Define cognos location
<Location /ibmcognos>
   RequestHeader set X-BI-PATH /ibmcognos/bi/v1
</Location>

# Route CA REST service requests through proxy with load balancing
<Location /ibmcognos/bi/v1>
   ProxyPass balancer://mycluster/bi/v1
</Location>

# To enable the stickysession, uncomment the following lines to replace the above section
#<Location /ibmcognos/bi/v1>
#   Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/ibmcognos/bi/v1" env=BALANCER_ROUTE_CHANGED
#   ProxyPass balancer://mycluster/bi/v1 stickysession=ROUTEID
#</Location>





sdf

are you not using cgi modules in your setup??

fry

I guess not, following the instructions from the installation guide and it pointed me to pre created cognos.conf files in /opt/ibm/cognos/analytics/cgi-bin/templates.

Should I be using another resource to find how to populate the cognos.conf file ?

Thank!
Frank