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)

  • Enable the rewrite module — this line should already be in your config file but may be commented out. Make sure it exists and is uncommented:
    LoadModule rewrite_module modules/mod_rewrite.so
  • Locate a stanza that looks similar to:
    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
  • After this, add a new rewrite rule where “custom/search” is the context root for your search service:
    RewriteEngine on
    RewriteRule ^/search/atom(.*) /custom/search/atom$1 [R]
  • Restart the http server with <httpserver_dir>/bin/apachectl restart
  • You can monitor the <httpserver_dir>/logs/access_log for traffic and to see whether the search requests are being redirected properly.

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

Advertisements

About Wannes Rams

I'm a IBM Collaboration software consultant. I am specialized in the architecture and technical lead of enterprise implementations. I started of as a Lotus Domino specialist certified up to Domino 8, but moved on to IBM Connections, Lotus Sametime and Lotus Quickr. I also have experience with WebSphere Administration and WebSphere Portal deployments. I am also IBM Champion for ICS Specialties: Lotus Domino Lotus Sametime Lotus Quickr IBM Connections WebSphere Portal administration WebSphere Application server administration Cisco Firewall administration Tivoli Directory Integrator Social Business
This entry was posted in IBM Connections. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s