General discussion


Exchange 2000, OWA via Apache Rev. Proxy

By nyctart ·
I am trying to get Exchange OWA working in a Windows 2000 environment with Apache Reverse Proxy running on a linux box outside a firewall.
It appears that the apache/linux box is able to authenticate to the exchange server inside the firewall, it then splits the screen to display the owa information but then just dies with a server not found error.
Has anyone ever been able to get OWA working using Apache Rev Proxy, (the firewall is not an issue because I have it completely open between the server and the apache/linux box).
I am wondering if the only way to get it to work is to use a Front-End server (which I believe requires the enterprise edition of exchange) which then gives the iis server the exchange components neccessary to talk to the exchange back end.
Thanks for any and all help.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by nyctart In reply to Exchange 2000, OWA via Ap ...

Point value changed by question poster.

Collapse -

I am working with mod_proxy.c built into the Apache httpd server and proxying an Exchange 2003 Enterprise OWA. My goal was to give to users an SSL connection towards the OWA and discconnect the exchange server from the internet. It works fine right now.

In the httpd.conf file you need to configure 3 parameters to make the system up and running (I leave the details for the security fix). The parameters are the following:

<IfModule mod_proxy.c>
ProxyRequests off
ProxyVia On
ProxyPass /exchange http://myexchsrv.mydomain.domain/exchange/
ProxyPass /exchweb http://myexchsrv.mydomain.domain/exchweb/

This works really fine for me. Hope you'll enjoy this :)

Greetings - En3pY

Collapse -

by Sebastian Zdrojewski In reply to

Hi, actually I found there is a missing information in my previous post:
you can approach to the reverse proxy in two ways: using apache 2 or
apache 1.3. I found some troubles in the 1.3 reverse proxy approach, since
there is the need to modify the source code in the mod_proxy.c file.
Today I'm using apache 2 reverse proxy tool with success.
The configuration for Apache 2 virtual host would be this one:

DocumentRoot /usr/local/htdocs
RequestHeader set Front-End-Https "On"
ProxyRequests Off
ProxyPreserveHost On
SSLEngine On
SSLCertificateFile /etc/httpd/ssl/myserver.crt
SSLCertificateKeyFile /etc/httpd/ssl/myserver.key
<Location /exchange>
ProxyPass http://owa.itvc.ntdomain/exchange
ProxyPassReverse http://owa.itvc.ntdomain/exchange
<Location /exchweb>
ProxyPass http://owa.itvc.ntdomain/exchweb
ProxyPassReverse http://owa.itvc.ntdomain/exchweb
<Location /public>
ProxyPass http://owa.itvc.ntdomain/public
ProxyPassReverse http://owa.itvc.ntdomain/public

Furthermore, in the hosts file on the OWA box I added the following entry:

Look out that is the OWA box IP address, while is the public
IP address of the Apache 2 box. The Apache 2 DNS server is the internal DNS,
so it can resolve the owa.itvc.ntdomain address. This works very fine for
all :)

Related Discussions

Related Forums