IIS Reverse Proxy for Deluge WebUI (ajax fail)
Posted: Thu May 22, 2014 7:56 am
I am trying to redirect the webui of deluge on port 8112 to a folder in my iis server. So that i can access my local server on the other port through an iis subfolder.
http://websitename.com/back/ --> http://192.168.2.14:8112/
I made a folder on the server called back and configures my url rewriting for that. The web.config is in the back folder so I can use a wildcard to redirect data.
The site comes throug and loads, it just cant connect and misses some files becuase the reverse proxy wont change the ajax requests.
Here is a screenshot:
Any ideas on how to fix this? I tried php reverse proxies and wsgi but cant get it to work.
http://websitename.com/back/ --> http://192.168.2.14:8112/
I made a folder on the server called back and configures my url rewriting for that. The web.config is in the back folder so I can use a wildcard to redirect data.
Code: Select all
<rewrite>
<rules>
<rule name="CrmInbound" enabled="true">
<match url="(.*)" />
<action type="Rewrite" url="http://192.168.2.14:8112/{R:1}" />
</rule>
</rules>
<outboundRules>
<rule name="CrmOutbound" preCondition="OnlyHtml" enabled="true">
<match filterByTags="A, Area, Base, Form, Frame, Head, IFrame, Img, Input, Link, Script" pattern="/(.*)" />
<action type="Rewrite" value="http://websitename.com/back/{R:0}" />
</rule>
<preConditions>
<preCondition name="OnlyHtml">
<add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" />
</preCondition>
</preConditions>
</outboundRules>
</rewrite>
Here is a screenshot:
Any ideas on how to fix this? I tried php reverse proxies and wsgi but cant get it to work.