Hi,
I'm trying to setup a reverse proxy on IIS7 to Exchange2010 OWA, I already created a url rewrite rule to my intranet site and it is working fine but my Exchange rule gets an 404 error.
<rewrite><rules><rule name="Reverse Proxy to Intranet" stopProcessing="true"><match url="^intranet/(.*)" /><action type="Rewrite" url="http://172.16.2.38/{R:1}" /></rule><rule name="Reverse Proxy to Exchange2010" stopProcessing="true"><match url="^mail/(.*)" /><conditions></conditions><action type="Rewrite" url="http://172.16.2.17/{R:1}" /><serverVariables></serverVariables></rule></rules></rewrite>
When the rule rewrites the url exchange redirects me to http://172.16.2.35/owa/ and I get a 404 error.
But if I type http://172.16.2.17 (the exchange 2010 server) in a browser it redirects me tohttp://172.16.2.17/owa/ and works fine.
I thought it was an ssl certificate issue so I created a self-signed certificate on the reverse proxy server and imported it to the exchange2010 server.
I hope you can help me.
Thanks