I'm trying to redirect http://rdsfarm.company.com to https://rdsfarm.company.com/rdweb
The listener is directing http to https just fine. However, redirecting to /rdweb is a problem.
My RD Gateway role is also on the same server as the RD Web Access role. This allows us to use a single external IP and 1 name certificate. My rule's path has both <same as internal> for external, then one for /rdweb/* and another for /rpc/*
I Googled around, and found 2 solutions that do not work for me:
1) Make external path /* and internal path /rdweb/*.
- TMG does not allow this if /rpc/* path exists. Removing /rpc/* works in redirecting, but makes RD Gateway inaccessible.
- If I make ext path /, it redirects me to https://rdsfarm.mycompany.com/Pages/default.aspx/ and I get an error 403. The path should be: https://rdsfarm.mycompany.com/rdweb/Pages/en-US/login.aspx?ReturnUrl=default.aspx (note the missing "rdweb", "en-US", and "login.aspx?").
2) Action - Deny and redirect to http://rdsfarm.mycompany.com/rdweb
- Seems to cause a problem with too many redirects error on the browser. In IE, I get nothing.
Any suggestions?