In order to be able to use the Visual-SVN server, I installed ARR and used url-rewrite.
Our domain is www.mydomain.nl , And from the outside world we use that to get to the site and outlook web access.
We added a new subdomain to DNS : svn.mydomain.nl and we want to use this to route via IIS our subversion to the VisualSVN server. We added the rewrite section as described below. And indeed we can reach our subversion from the outside world.
But we can no longer reach anything else from the outside world, not the
www.mydomain.nl neither https://www.mydomain.nl/owa
Both result in an error 500 (even when the browser has more specific errors turned on). We have FailureRequestTracing turned on for everything at the highest level. But don't see any Failures appearing in the directory. Strange enough when you try these
two url's on the IIS server itself, the sites are reachable . Removing the URL REWRITE section makes the site available to the outside world again.
On the side, we also see Application REquest Failures in the log directory, of which we have no idea why it is considered a failure at all. There is no message in such traces indicates an error / warning at all, they all resulted in Code 200. So why are
they in the log?
Any help with expecially the first problem would be appreciated.
Thanks
<system.webServer>
<rewrite>
<outboundRules>
<rule name="ReverseProxyOutboundRule1" preCondition="ResponseIsHtml1" stopProcessing="true">
<match filterByTags="A, Form, Img" pattern="^http(s)?://svnserver.mydomain.nl(.*)" />
<action type="Rewrite" value="http{R:1}://svn.mydomain.nl{R:2}" />
</rule>
<preConditions>
<preCondition name="ResponseIsHtml1">
<add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" />
</preCondition>
</preConditions>
</outboundRules>
<rules>
<rule name="ReverseProxyInboundRule1" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{CACHE_URL}" pattern="^(https?)://svn.mydomain.nl" />
</conditions>
<action type="Rewrite" url="{C:1}://svnserver.mydomain.nl:8443/{R:1}" logRewrittenUrl="true" />
</rule>
</rules>
</rewrite>
</system.webServer>