Hi,
Firstly thank you for your time and guidance. I would like to know how and where I can change the URL rewrite for Intranet link that I would like to publish within RDweb. For example, I have an URL of our Intranet which is HTTP and not published externally in RD-web access application. When I click the intranet link, it opens up another tab as HTTP://intranet/default.aspx for example, If my RDweb URL is e.g https://mycompany/RDWeb/Pages/en-US/login.aspx, i would like the Intranet URL to open as https://mycompany/RDWeb/Pages/en-US/intranet/default.aspx. Is it possible? I searched on the web and found the following article but I dont know much about it and dont know where to change it.
Reverse Proxy To Another Site/Server
By using URL Rewrite Module together with Application Request Routing module you can have IIS 7 act as a reverse proxy. For example, you have an intranet web server and you want to expose its content over internet. To enable that you will need to perform the following configuration steps on the server that will act as a proxy:
Step1: Check the “Enable proxy” checkbox located in Application Request Routing feature view is IIS Manager.
Step2: Add the following rule to the web site that will be used to proxy HTTP requests:
- <rule name="Proxy">
- <match url="(.*)" />
- <action type="Rewrite" url="http://internalserver/{R:1}" />
- </rule>
<rule name="Proxy"><match url="(.*)" /><action type="Rewrite" url="http://internalserver/{R:1}" /></rule>
Note the http:// prefix in the rewrite rule action. That is what indicates that this request must be proxy’ed, instead of being rewritten. When rule has “Rewrite” action with the URL that contains the protocol prefix, then URL Rewrite Module will not perform its standard URL rewriting logic. Instead it will pass the request to Application Request Routing module, which will proxy that request to the URL specified in the rule.
Thank you so much.
Pwint