DSM 6.2, IIS Reverse Proxy and /webman not rewrite

Recommended Posts



so I'm successfully set up Reverse Proxy on IIS today to access to my DSM through my own domain and without port. And I found an interesting thing. Everything works great except when I'm redirect to https://mydomain.com/webman/index.cgi or https://mydomain.com/webman. I found this, when I playing with Office. When I wanted to create a new document, every time it redirected me to login page without rewrite to address https://ipaddress:5001/webman/index.cgi and I don't know why. Why every other pages works and this don't? Even If I create Portal Application with alias rewrite works.


Here's my rewrite rules:

  <rules useOriginalURLEncoding="false">
    <clear />
    <rule name="HTTP/S to HTTPS Redirect" enabled="true" stopProcessing="true">
      <match url="(.*)" />
      <conditions logicalGrouping="MatchAny">
        <add input="{SERVER_PORT_SECURE}" pattern="^0$" />
      <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" />
    <rule name="ReverseProxyInboundRule2" enabled="true" stopProcessing="true">
      <match url="(.*)" />
      <action type="Rewrite" url="{R:1}" appendQueryString="true" logRewrittenUrl="true" />


Thanks for your help and suggestions.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now