iNotes and Reverse Proxy on multiple mail servers

We have (3) internal mail servers and (1) DMZ server with no mail files (called Webmail.) However, we cannot seem to get the iNotes redirector to work with a reverse proxy. It appears that the iNotes Redirector returns the wrong url to the proxy when it has to fetch a mail file on a different mail server then that which is hosting the inotesredirector.nsf.

Has anyone been able to use a reverse proxy with iNotes Redirector ?

Subject: I got it working on 8.0 but not 8.5

I have a very similar setup.

For 8.0 I wrote a web page that asked for your web server and wrote a cookie that was used by Apache running a reverse proxy. This works perfectly in 8.0 but fails totally on 8.5. The cookie still works, it gets to the IWAREDIR.nsf and redirects, but then I get a blank page.

Tried everything, debugging in Firebug, but I cannot see what is wrong.

Does anyone know what is different in 8.5