WebMailRedirect and SSL redirection problem

Hi,

I am having an issue (probably simple:) that I am hoping someone can give me a hand with.

I have set up a pretty standard iNotes / WebMailRedirect environment.

I have an IBM Edge Server 2.0 in my DMZ that acts as a reverse proxy. It is set up to use SSL (w/ a self certified certificate for now) just between client and proxy.

I also have the Domino server in the trunsted/internal network. It is running both the WebMailRedirect app (running in reverse proxy mode) and is the also iNotes mail server (houses the user mail files).

The Edge Server is set to forward all requests to the internal mail server - and it is working fine.

However, when I send an SSL (https) request to the reverse proxy, it displays the logon page fine (the default one from the WebMailRedirect app), but as soon as i submit, it redirects/changes the protocol to http. If I simply change the protocol to https by hand it continues to work fine.

I can’t figure out how to remedy this - I’ve tweaked the Edge Server to just do SSL / forward port 80 to SSL, etc, but with no luck.

I am assuming it’s something simple in the way Domino submits the form - but I am at a loss to find it.

Any help would be greatly appreciated - thanks so much in advacne.

Chris

Subject: WebMailRedirect and SSL redirection problem

Check the JSHeader of the $$LoginUserForm. The protocol variable hardcodes whether to redirect to http or https.

Subject: RE: WebMailRedirect and SSL redirection problem

Hi Greg,

Thank you kindly for your response. Which $$LoginUserForm are you talking of? The login form I am using is LoginForm in the WebMailRedirect application.

Even so, I attempted to force the protocol in every LoginForm I could find but to no avail.

I think that the redirection is happening after authentication, becuase if I put in a bogus username / pw, the logon form returns still in https:// (meaning that the form submission isn’t changing the protocol, it’s whatever happens after authentication - names.nsf?Login - which I can’t locate in the NAB).

But for the life of me, I can’t find a) the code that is executed when the “Submit” button is clicked, or more importantly, b) the code that is executed during and after authentication.

Any more ideas? Again, thanks for your assistance.

Chris

Subject: RE: WebMailRedirect and SSL redirection problem

OK, it is the LoginForm in WebMailRedirect then. Did you find the protocol variable in JSHeader? Note that in Designer 6, when you go into JSHeader, you have to switch it from “Client” to “Web” in order to see the code that gets executed. Unless you’ve got a different version of WebMailRedirect than I have, that’s where your problem is.

Subject: RE: WebMailRedirect and SSL redirection problem

Hello.All I have in the JSHeader is the code below :

function setFormFocus() {

document.forms[0].username.focus(); 

document.forms[0].username.select();

}

function doError() {

return true;

}

window.onerror=doError;

So nothing about any protocol.

Anyone with help, please and thanks in advance.

Subject: RE: WebMailRedirect and SSL redirection problem

This code is is for client only. Switch to Web to see code for the browaser.