IIS rewrite 400 error
Anyway I've included the webconfig below, appreciate any help!
- Code:
- <rewrite>
 <rules>
 <rule name="Serviio Inbound" patternSyntax="ECMAScript" stopProcessing="true">
 <match url="(.*)" />
 <action type="Rewrite" url="http://serviio.mydomain.net:23424/{R:1}" logRewrittenUrl="true" />
 <conditions logicalGrouping="MatchAny" trackAllCaptures="false">
 <add input="{PATH_INFO}" pattern="mediabrowser" />
 <add input="{PATH_INFO}" pattern="cds" />
 </conditions>
 </rule>
 </rules>
 <outboundRules>
 <rule name="Serviio Outbound" preCondition="ResponseIsHtml1" patternSyntax="ECMAScript" stopProcessing="true">
 <match filterByTags="A, Form, Img, Link" pattern="^http://serviio.mydomain.net:23424/(.*)" />
 <action type="Rewrite" value="https://media.mydomain.net/{R:1}" />
 <conditions logicalGrouping="MatchAny" trackAllCaptures="false">
 <add input="{PATH_INFO}" pattern="mediabrowser" />
 <add input="{PATH_INFO}" pattern="cds" />
 </conditions>
 </rule>
 <preConditions>
 <preCondition name="ResponseIsHtml1">
 <add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" />
 </preCondition>
 </preConditions>
 </outboundRules>
 </rewrite>


