Reverse Proxying OWA

Reverse Proxying OWA

am 04.11.2004 21:51:31 von Adam Wenner

i know you have received a lot of mail regarding reverse proxying OWA, i =
have read all these and still have no luck, so i come to you, the experts

i set up a reverse proxy on one machine that is made to proxy multiple ho=
sts, therefore each host is contained in a virtual host, the one for exch=
ange is on port 443 (to allow https access to be proxied)

if i open a connection directly to my exchange server at https://exchange=
ip/exchange/

i am presented with a login prompt

when i open a connection to the reverse proxy with
https://revproxyip/exchange/

i am given an error reading=20
"The connection to revproxyip has unexpectedly terminated" in firefox (ie=
simply gives me a 404 error page)

the exchange server is not using NTLM authentication because of problems =
with proxying that

the conf file for the 443 virtual host is contained below




#exchange stuff

=09
=09ProxyPass / https://gcexchange01.guilford.com/
#=09ProxyPass /exchange/ https://gcexchange01.guilford.com/exchange/
=09ProxyPassReverse / https://gcexchange01.guilford.com/
#=09ProxyPassReverse /exchange/ https://gcexchange01.guilford.com/exchang=
e/
=09ProxyHTMLURLMAP / https://gcexchange01.guilford.com/
=09ProxyHTMLURLMAP https://gcexchange01.guilford.com /
#=09ProxyHTMLURLMAP /exchange/ https://gcexchange01.guilford.com/exchange=
/=09

#=09RewriteEngine On

=09#security features to help aleviate security issues with IIS
#=09RewriteRule=09^(http|ftp)://.*=09[F]
#=09RewriteRule=09^(.*)?/iisadmin/?=09[F]
#=09RewriteRule=09^(.*)?/samples/?=09[F]
#=09RewriteRule=09^(.*)?/scripts/?=09[F]
#=09RewriteRule=09^(.*).ida$=09[F]
#=09RewriteRule=09^(.*).htw$=09[F]
#=09RewriteRule=09^(.*)._vti/_.=09[F]
#=09RewriteRule=09^(.*).idq$=09[F]
#=09RewriteRule=09^(.*).exe$=09[F]
#=09RewriteRule=09^(.*)?/winnt/?=09[F]

=09#only valid exchange URL's allowed
#=09RewriteRule ^/public([a-zA-Z0-9/._-]*)$ =09https://gcexchange01.guilf=
ord.com/public/$1=09[P]
#=09RewriteRule ^/exchweb([a-zA-Z0-9/._-]*)$=09https://gcexchange01.guilf=
ord.com/exchweb/$1=09[P]
#=09RewriteRule ^/exchange/([a-zA-Z0-9/._-]*)$=09https://gcexchange01.gui=
lford.com/exchange/$1=09[P]

#=09RewriteLog=09/usr/local/apache2/logs/rewrite_log
#=09RewriteLogLevel=091




the commented out rewrite rules will be uncommented, i just wanted to mak=
e sure they were not the problem

this apache server is v2.0.52 and has mod_ssl installed with no changes t=
o the SSL conf, is this where i have to change something


thanks for your help, cause im kinda clueless at this point
--adam


E-mail correspondence to and from this address may be subject to the =0AN=
orth Carolina Public Records Law and may be disclosed to third parties by=
an=0Aauthorized county official. If you have received this communication=
in =0Aerror , please do not distribute it. Please notify the sender by E=
-mail =0Aat the address shown and delete the original message. Thank=
you