Serviio IIS rewrite Issue
I have an IIS Webserver that act as proxy.
On the IIS I have define a website "serviio.mydyndns.org". On this site I have defined the following rewrite rule:
This works quite well. I can access the site by enter "https://serviio.mydyndns.org/mediabrowser". After this can enter the password an I'm logged in.
Now I can click to "pictures", "folders", "MyPictures" or "pictures", "year", "2017".
It works until click on "folders" or "year", but when I click on the folder "MyPictures" or "2017" I receive the message "Unknown server error (400, undefined)".
The access to the mediabrowser in the local network works without any issue.
Have someone an idea what I made wrong?
Thank you for any help.
On the IIS I have define a website "serviio.mydyndns.org". On this site I have defined the following rewrite rule:
- Code:
<rewrite>
<rules>
<rule name="Reverse Proxy to Serviio mediabrowser" enabled="true" patternSyntax="ECMAScript" stopProcessing="true">
<match url="(.*)" ignoreCase="true" negate="false" />
<action type="Rewrite" url="http://localhost:23424/{R:0}" appendQueryString="true" logRewrittenUrl="false" />
<serverVariables>
</serverVariables>
</rule>
</rules>
</rewrite>
This works quite well. I can access the site by enter "https://serviio.mydyndns.org/mediabrowser". After this can enter the password an I'm logged in.
Now I can click to "pictures", "folders", "MyPictures" or "pictures", "year", "2017".
It works until click on "folders" or "year", but when I click on the folder "MyPictures" or "2017" I receive the message "Unknown server error (400, undefined)".
The access to the mediabrowser in the local network works without any issue.
Have someone an idea what I made wrong?
Thank you for any help.