Conflunce behind Webseal and Apache

We have a Webseal junction configured as www.domain.com/collaboration/, which has a back end apache, with context paths to /jira and /wiki, two tomcat instances on the same host. 

When accessing www.domain.com/collaboration/wiki/ we are initially able to log in, but receive a notification that we are accessing as www.domain.com/wiki/ and then are redirected to login, with the url www.domain.com/wiki/login.action?os_destination=/collaboration/.

The same is true for our jira configuration. Any tips to resolve this? Need to force the url to be www.domain.com/collaboration/wiki/

1 answer

0 vote
Ann Worley Atlassian Team Jan 25, 2018

Please make sure the connector directive in the <application_install_dir>/conf/server.xml file includes the proxyName, proxyPort and scheme, as described in Proxy Support:

The proxyName and proxyPort attributes can be used when Tomcat is run behind a proxy server. These attributes modify the values returned to web applications that call the request.getServerName() and request.getServerPort() methods, which are often used to construct absolute URLs for redirects. Without configuring these attributes, the values returned would reflect the server name and port on which the connection from the proxy server was received, rather than the server name and port to whom the client directed the original request.

Thanks for your reply Ann.

I set this value to  www.domain.com/collaboration but it does not seem to have any affect. Images and some links (e.g. update base URL popup link) are then redirecting  www.domain.com/collaboration/wiki to  www.domain.com/wiki, with 404 errors.

Any other possibilities?

Joel,

I am wondering how did you configure your webseal cert on the confluence server?  As we are trying to configure SSO with webseal, and i cant seem to figure out how to add the webseal cert to confluence server.  I was only able to configure my own dns server cert instead.  Thanks!

Hi Bryan,

We're not configuring SSO for now, so haven't got any insight to assist. Our internal instances are SSO but only use a httpd.

For anyone interested in my original issue, found this article which appears to point to Webseal configuration to resolve the problem. Will test this and report back.

https://publib.boulder.ibm.com/tividd/td/ITAME/SC32-1359-00/en_US/HTML/am51_webseal_guide91.htm

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

635 views 21 11
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you