Skip to content
Connections 1 min read

Search on IBM Connections mobile app not working with changed context root

I am currently facing an issue with a IBM Connections deployment were we have a changed context root for the applications. This causes the search in the mobile app not to work

instead of http://connections.company.com/mobile

We have http://connections.company.com/custom/mobile for a whole set of reasons and for all applications. This is a supported change on WebSphere and thus supported on IBM Connections. Everything works except for search.

We have opened a pmr and it looks like the mobile app is not picking up the changed context root and sending out it’s requests for feeds to http://connections.company.com/mobile. This url does not exist. This behaviour will be fixed when Connections 4 will be released but for now, you should be able to change this using this change on your IBM Http server (thx Nathan for sharing this)

LoadModule rewrite_module modules/mod_rewrite.so
LoadModule ibm_ssl_module modules/mod_ibm_ssl.so
<IfModule mod_ibm_ssl.c>
Listen 0.0.0.0:443
<VirtualHost *:443>
ServerName connections.company.com
SSLEnable
</VirtualHost>
</IfModule>
SSLDisable
RewriteEngine on
RewriteRule ^/search/atom(.*) /custom/search/atom$1 [R]
<httpserver_dir>/bin/apachectl restart

In our specific case this did not resolve the issue because we are fronted by a Webseal server that will not let this original url through but it should solve the issue if you are not using webseal