Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Apache as reverse proxy to OWA 2003

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Problem with restarting apache2  
Author Message
user2833

External


Since: Jun 18, 2004
Posts: 22



(Msg. 1) Posted: Mon Jun 28, 2004 2:31 am
Post subject: Apache as reverse proxy to OWA 2003
Archived from groups: alt>apache>configuration (more info?)

This is a continuation of the thread titled "Reverse proxy with SSL,
redirects to non-SSL vhost."

I promised that after I figured things out I would post a solution
here. First, a brief description of the problem. I wanted to use
Apache 2.0 to serve as a reverse proxy to Outlook Web Access from
Exchange Server 2003. I wanted the browser-to-proxy connection to be
secured via SSL, but the proxy-to-OWA connection to be straight HTTP
(to reduce the SSL overhead). Finally, I wanted to only proxy the
specific directories that OWA uses, since I have other URLs for other
web-based applications on the same FQDN.

So, here's the solution. This configuration (as of my testing thus far) works.

<VirtualHost 1.2.3.4:443>
ServerAdmin webmaster DeleteThis @domain.com
ServerName extranet.domain.com
DocumentRoot /var/www/extranet

RequestHeader set Front-End-Https "On"

ProxyRequests Off
ProxyPreserveHost On

SSLEngine On
SSLCertificateFile conf/extranet-ssl-cert.pem

<Location /exchange>
ProxyPass http://mail.domain.com/exchange
ProxyPassReverse http://mail.domain.com/exchange
SSLRequireSSL
</Location>

<Location /exchweb>
ProxyPass http://mail.domain.com/exchweb
ProxyPassReverse http://mail.domain.com/exchweb
SSLRequireSSL
</Location>

<Location /public>
ProxyPass http://mail.domain.com/public
ProxyPassReverse http://mail.domain.com/public
SSLRequireSSL
</Location>

</VirtualHost>

I also added an entry to the HOSTS file on the OWA server that linked
extranet.domain.com to the OWA's own IP address, and linked the
extranet.domain.com host name to the Default Web Site on IIS. I don't
know yet if these made any difference.

The RequestHeader directive was the real key--this notified OWA to
construct all URLs using "https" instead of "http". It also seemed
that the ProxyPreserveHost directive was also necessary, or else the
proxy's FQDN was replaced with the internal FQDN.

I hope this configuration helps someone else.

--
Scott Lowe

 >> Stay informed about: Apache as reverse proxy to OWA 2003 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Mon Jun 28, 2004 10:03 am
Post subject: Re: Apache as reverse proxy to OWA 2003 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Scott Lowe <me DeleteThis @privacy.net> wrote:
 > This is a continuation of the thread titled "Reverse proxy with SSL,
 > redirects to non-SSL vhost."

I'll add those info to my page (with your permission and credits
of course).

Davide

--
| Never underestimate the power of a small tactical nuclear weapon.
|
|
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Apache as reverse proxy to OWA 2003 
Back to top
Login to vote
user2833

External


Since: Jun 18, 2004
Posts: 22



(Msg. 3) Posted: Mon Jun 28, 2004 2:04 pm
Post subject: Re: Apache as reverse proxy to OWA 2003 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2004-06-28 03:03:19 -0400, Davide Bianchi
<davideyeahsure DeleteThis @onlyforfun.net> said:

 > Scott Lowe <me DeleteThis @privacy.net> wrote:
  >> This is a continuation of the thread titled "Reverse proxy with SSL,
  >> redirects to non-SSL vhost."
 >
 > I'll add those info to my page (with your permission and credits
 > of course).
 >
 > Davide

Absolutely, Davide. Again, thanks for your frequent responses to my
questions and posts. Your help is appreciated.

--
Scott Lowe<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Apache as reverse proxy to OWA 2003 
Back to top
Login to vote
rpdh

External


Since: Jul 09, 2004
Posts: 1



(Msg. 4) Posted: Fri Jul 09, 2004 4:55 pm
Post subject: Re: Apache as reverse proxy to OWA 2003 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Scott Lowe <me.TakeThisOut@privacy.net> wrote in message news:<2k9ho7F186djkU1.TakeThisOut@uni-berlin.de>...
 >
 > I hope this configuration helps someone else.

Hi Scott, Mike

Thank you both. I've been stuggling with the same problem for the past
couple days, but in my case I was trying to setup the reverse proxy to
provide secure access to a Lotus iNotes server on our internal
network.

It's Friday night - 21:53, and I can now leave the office a happy man.

Thanks for your posting.

Rob
rpdh.TakeThisOut@hotmail.com<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Apache as reverse proxy to OWA 2003 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache reverse proxy - Hello, I am installing a reverse proxy on Apache. For basic cases, everything works fine. When I do a simple redirection, like for example ProxyPass /server/ https://141.220.200.46/ ProxyPassReverse /server/ https://141.220.200.46/ no..

Apache 2.0.48 and reverse proxy - Hi, I am not able to setup reverse proxies using the following script in Apache 2.0.48 because of directive problems. I have to set up two reverse proxies for my webserver running on two different ports. What changes do I need to make it running on..

Reverse Apache 2.46 SSL Proxy w/ Weblogic 7.0 sp4 - Am a newbie to Apache 2.xx. I am trying to set up a reverse SSL proxy for my weblogic server (7.x sp4) on a Redhat Linux 2.1AS server. I have been successful in setting up a non-ssl reverse proxy service but have been unsucessful with SSL reverse..

Apache reverse proxy and URL Encode - I hope this is an easy question for someone (and Thank You in advance): I'm running apache 2.0.43 in reverse proxy mode on UNIX (to WebBoard - a web based collaboration product). Only one problem so far: downloading files through the browser works from...

Apache 2.0 - Reverse Proxy and / or Mod_Rewrite Question - Hello All, New to the Apache world but trying to make up ground in a hurry. I have a Lotus Notes server behind a firewall that i only want to access via a reverse proxy - enter into the equation my Apache 2.0 server running on W2K Server. (I know, don'...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]