I am attempting to rewrite requests for `http://redmine` (where IIS is bound) to `http://web01:8080/redmine` (where apache is bound and ruby is serving redmine). Noet that I also have an A record binding `http://intranethome` to `http://web01:80` and `https://web01:443`

I've primary used the following for reference:

* <http://www.iis.net/learn/extensions/url-rewrite-module/reverse-proxy-with-url-rewrite-v2-and-application-request-routing>
* <http://blogs.iis.net/owscott/creating-a-reverse-proxy-with-url-rewrite-for-iis>

I believe that the following should work, but it simply isn't:

```
<rewrite>
<rules>
  <rule name="ReverseProxyInboundRule1" stopProcessing="true">
    <match url="redmine(.*)" />
    <action type="Rewrite" url="http://web01:8080/redmine{R:1}" logRewrittenUrl="true" />
  </rule>
</rules>
<outboundRules>
  <rule name="ReverseProxyOutboundRule1" preCondition="ResponseIsHtml1">
    <match filterByTags="A, Form, Img" pattern="^http(s)?://web01:8080/redmine(.*)" />
    <action type="Rewrite" value="http{R:1}://redmine/{R:2}" />
  </rule>
  <preConditions>
    <preCondition name="ResponseIsHtml1">
      <add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" />
    </preCondition>
  </preConditions>
</outboundRules>
</rewrite>

```

I've done similar things in apache, but can't seem to understand the issues with IIS. Any input is appreciated.