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

 

Cognos 11, Single Server, Linux Suse 12, Apache 2.4 - Access Forbidden !

Started by fry, 21 May 2016 06:54:44 AM

Previous topic - Next topic

fry

Hi Everyone

Receiving this error when attempting to access from my gateway (see below)

Looking at the Apache error log and it says  "AH01630: client denied by server configuration: /opt/cognos/analytics/cgi-bin/cognos.cgi" 

Included my cognos.conf file below

Please, help !

Gateway Response
+++++++++++++
Access forbidden!

You don't have permission to access the requested object. It is either read-protected or not readable by the server.

If you think this is a server error, please contact the webmaster.
Error 403



Cognos.conf
+++++++++
LoadModule headers_module /usr/lib64/apache2-prefork/mod_headers.so
LoadModule proxy_module /usr/lib64/apache2-prefork/mod_proxy.so
LoadModule proxy_http_module /usr/lib64/apache2-prefork/mod_proxy_http.so
LoadModule slotmem_plain_module /usr/lib64/apache2-prefork/mod_slotmem_plain.so
LoadModule slotmem_shm_module /usr/lib64/apache2-prefork/mod_slotmem_shm.so
LoadModule proxy_balancer_module /usr/lib64/apache2-prefork/mod_proxy_balancer.so
LoadModule lbmethod_byrequests_module /usr/lib64/apache2-prefork/mod_lbmethod_byrequests.so
# Header to add a cookie for sticky sessions
Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/" env=BALANCER_ROUTE_CHANGED
# Send everything which goes to BI Services through balanced proxy
#
# Add/Remove the number of BalanceMember lines depending on the server in your # environment
<Proxy balancer://mycluster>
BalancerMember http://cognos1.cc.urxxxxx.ca:9300 route=1
##BalancerMember http://<app_server_x:port> route=2
ProxySet stickysession=ROUTEID
</Proxy>
<LocationMatch ^/ibmcognos/bi/(.*)$>
RequestHeader set X-BI-PATH /ibmcognos/bi/v1
ProxyPass balancer://mycluster/bi/$1
ProxyPassReverseCookieDomain "." "cc.uXXX.ca"
</LocationMatch>
ProxyRequests off
# Aliases for the CA web content
ScriptAlias /ibmcognos/cgi-bin "/opt/cognos/analytics/cgi-bin"
<Directory "/opt/cognos/analytics/webcontent/cgi-bin">
AllowOverride None
Options None
Require all granted
</Directory>
Alias /ibmcognos "/opt/cognos/analytics/webcontent"
<Directory "/opt/cognos/analytics/webcontent">
Options Indexes MultiViews
AllowOverride None
Require all granted
</Directory>