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

Cognos Proxy Gateway

Started by TROndrey, 13 Sep 2010 11:55:12 AM

Previous topic - Next topic

TROndrey

Hi

My current distributed(3server) installation of Cognos 8.4 is sitting in our Server Farm network. I have created an Apache server in our DMZ and setup ProxyPass from it to the Cognos Gateway in the server farm.

When I navigate to cognos.mycompany.com its redirecting to the internal network which times out for external users. Is there something I'm missing? My Apache conf file for the DMZ server is:

ProxyPass / http://xx.xx.x.xx:80/cognos8
ProxyPassReverse / http://xx.xx.x.xx:80/cognos8
CustomLog /var/log/apache2/access_log combined
ErrorLog /var/log/apache2/error_log

Let me know if you need any further information. TIA

Update: ProxyPass is definitely working correctly, this must be Cognos refreshing the page and feeding it the internal IP address. I've set the Gateway URI on the Reporting Server to the DNS but its still going to the IP.

Update 2 - I saw a post about Cognos Controller requiring a parameter like "t=controller", could this be applied to Cognos Connection? The post for that is here - http://www-01.ibm.com/support/docview.wss?uid=swg21367311

technomorph

Hi,

QuoteI have created an Apache server in our DMZ and setup ProxyPass from it to the Cognos Gateway in the server farm.


I could be wrong but shouldn't the gateway on the Apache server just point to the dispatchers in the server farm?

Cheers

TROndrey

Quote from: technomorph on 15 Sep 2010 03:52:27 AM
Hi,


I could be wrong but shouldn't the gateway on the Apache server just point to the dispatchers in the server farm?

Cheers


The apache server in the DMZ is simply a proxy pass that points to the Cognos Gateway server that is in the DMZ. An idea from another forum was to change the Gateway URL on the Reporting Server to the DMZ Server instead of the Gateway Server but that has not had any effect.

TROndrey

SOLVED!!!

Rest assured I have sufficiently slammed my head against the desk for this one.

The ProxyPass settings requires a trailing slash

So this:

ProxyPass / http://xx.xx.xx.xx:80/cognos8
ProxyPassReverse / http://xx.xx.xx.xx:80/cognos8

Becomes this:

ProxyPass / http://xx.xx.xx.xx:80/cognos8/
ProxyPassReverse / http://xx.xx.xx.xx:80/cognos8/

While this solves the issue of the URL changing I am now getting a Error 404 Object Not Found message.

When navigating to http://cognos.mycompany.com the IBM Cognos splash screen is displayed followed by the logon screen.

If I try to logon then I get the 404 error exactly as below(same for bad credentials):

http://cognos.mycompany.com/cognos8/cgi-bin/cognos.cgi
_____________________________
Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

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

Error 404
xx.xx.xx.xx
Thu Sep 30 13:35:35 2010
Apache/2.2.3 (Linux/SUSE)
_____________________________

One error solved, another takes its place...progress!