Apache reverse proxy and Web Mail Redirect

Hello All,

Testing an Apache 2.0 server with reverse proxy in DMZ to internal Domino 6.5 Server.

Standard reverse proxy works great if user knows path for mail file, i.e. http://my.server.com/mail/mailfilename.nsf.

Run into problem when using Web Mail Redirect, info gets passed to internal server and user is then presented with authentication screen with “real” domino server url (not the apache reverse proxy server url).

Any ideas what I’m missing on either the ProxyPassReverse or a rewrite?

Thanks in advance.

Subject: Apache reverse proxy and Web Mail Redirect

I did the same thing. For matters of ease, i wrote a small mail redirect myself that takes into account the reverse proxy address. the only proxypass you need to add then is your custom database.Be aware that if your users are spread over multiple servers, the apache stuff becomes quite difficult.

But in between we changed from apache reverse proxy to Netscreen SSL VPN (formerly neoteris) which might be quite expensive, but the possibilities are huge. Depending on the number of intranet (and even full blown applications through the ssl vpn stuff) it becomes very interesting. (i’m looking at my complete intranet without any rewrites of internal applications or whatsoever).

Subject: RE: Apache reverse proxy and Web Mail Redirect

Ignace,

Thanks for the feedback. Any chance of getting your customer redirect info??

I was just looking at the Neoterisis (Netscreen) device. Pricey at $7,000.00 retail but the possibilities are very interesting.

By the way, it is a single mail server on the backend, so not a difficult environment at the moment.

Subject: RE: Apache reverse proxy and Web Mail Redirect

I have a simple nsf file with 1 form and 1 agent.The form contains 3 fields :

Username, mailfile, mailserver.

Username has a value of @Name([CN];@UserName)

When you logon you open the nsf with the login form.

This triggers an agent that looks up for the username the mailfile and mailserver.

Then the onload instruction of the form just changes the windows.location based on the servername where the user is.ex : if (thisForm.mailserver.value == “flyer/jms”) {

window.location = “http://flyer.jetair.be:8080/” + thisForm.mailfile.value+“.nsf”;

Your reverse proxy will rewrite the servername correctly.

The problem with the webmail redirect is that it is way to complicated for a simple environment.

Another solution could be that you have a small php script on your reverse proxy. You know who enters the proxy, and you can thus redirect the user to his mailfile on your proxy. (providing that your users have a fixed server and standard location of the mailfile and your users loginname equals the mailfilename).