Gentoo Archives: gentoo-server

From: Haim Ashkenazi <haim@××××××××××.org>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] using apache2 as a reverse proxy for exchange server
Date: Wed, 08 Dec 2004 10:45:44
Message-Id: 1102502733.2570.29.camel@parker.babysnakes.org
In Reply to: Re: [gentoo-server] using apache2 as a reverse proxy for exchange server by Casper Gasper
1 On Tue, 2004-12-07 at 20:30 +0000, Casper Gasper wrote:
2 > > > [snip]
3 > > > #################### horde ...
4 > > >
5 > > > ProxyPass /webmail http://192.168.11.250:2525/webmail
6 > > > ProxyPassReverse /webmail http://192.168.11.250:2525/webmail
7 > > >
8 > > > #################### ... horde
9 > > > </VirtualHost>
10 > >
11 > > nope, doesn't work. I get the same errors (see my first post).(I added
12 > > the RequestHeader header, but it doesn't seem to make any change. I use
13 > > settings like that to proxy many things, but it doesn't work for
14 > > exchange. it seems that exchange have it's own redirections that make it
15 > > much more difficult.
16 > >
17 > > does anyone here have a working example of reverse proxy for exchange
18 > > 2003?
19 >
20 > Not for Exchange 2003 but Exchange 2000. One problem I did have was running
21 > on different ports externally and internally. This didn't seem to work so I
22 > made the ports identical on both apache and Exchange IIS. Here's the
23 > relevant section from my config file (slightly amended):
24 >
25 > ProxyRequests Off
26 > <Proxy *>
27 > Order deny,allow
28 > Allow from all
29 > </Proxy>
30 >
31 > ProxyPass /exchange http://server1:21025/exchange
32 > ProxyPassReverse /exchange http://server1:21025/exchange
33 >
34 > ProxyPass /exchweb http://server1:21025/exchweb
35 > ProxyPassReverse /exchweb http://server1:21025/exchweb
36 >
37 > ProxyPass /public http://server1:21025/public
38 > ProxyPassReverse /public http://server1:21025/public
39 >
40 > ProxyPass /iisadmpwd http://server1:21025/iisadmpwd
41 > ProxyPassReverse /iisadmpwd http://server1:21025/iisadmpwd
42 >
43 > ProxyPreserveHost On
44 > RequestHeader set front-end-https on
45 >
46 >
47 >
48 > Casper.
49 well, I'm about to give up. I followed your instructions, plus I found
50 several examples on the web that are supposed to connect to exchange
51 2003, (which looks more or less like yours) and I always get some kind
52 of redirection loop. maybe because it's SBS the OWA is restricted in
53 some way.
54
55 anyway, thanx to everybody on that list for your help.
56 until next time...
57
58 Bye
59 --
60 Haim

Attachments

File name MIME type
signature.asc application/pgp-signature