Monday, 3 March 2014

Configuring iNotes in a multiple HomeMail Server scenario with a WebSphere Edge reverse proxy server

This is draft to remember the points.. I'll update the article in few days..

Most important part is to enable Cookies with JunctionRewrite:

JunctionRewrite On UseCookie

Configuration of iNotes Web Redirect Database: Use the MailServer option and configure the Domain name and Proxy Server URL.
The problem with MailServer option in "iNotes Redirect" db is that it only changes the first URL.. The other subsequent HTTP request still try to connect the Proxy server without appending homeserver name, and the error will coming up in normal scenario. Now, with use of Cookie, ReverseProxy server remembers which server was last used.

Therefore, now with this setup the first request will go to Server1.
After authentication, iwaredir.nsf database will redirect the first URL to "" OR "" based on Homemail server.
At this moment JunctionRewrite will store the server information in Cookie.
All subsequent requests to server without "/server1/" in URL will still be able to reach the correct server because of this cookie.

My server setup: 

Following are the rules that I have used:

map /* /server1/*
map /* /server2/*


proxy /server1/**
proxy /server2/**
proxy /**


Please let me know if you want more details on how to setup the Websphere Cache Proxy Server.