IIS Rewriteing Folder to Port


Recommended Posts

I use IIS on my home server for local intranet (however other applications use their own web servers like Twonky). I was wondering if there would be any way to rewrite these port numbers to virtual directories or folders ie

http://myserver.mydomain.com:9000 becomes http://myserver.mydomain.com\Twonky

Ive tried creating a new rule using exact matches but all i get when i try to visit the named url i get a 404.

This is my rule

<rule name="i" patternSyntax="ExactMatch" stopProcessing="true">

<match url="http://myserver.mydomain/Twonky" />

<action type="Redirect" url="http:/myserver.mydomain:9000" appendQueryString="false" />

Can anyone suggest how i can achieve this redirection ?

Link to comment
Share on other sites

This topic is now closed to further replies.