stefanjoc
asked on
Forefront TMG WebPublishing redirect to sub folders in websites
Hi all
I have a frustrating one here. I am trying to publish websites, which with IIS work fine usnig default.asp pages to redirect them to subfolders. for example
www.publicname.com redirects to www.publicname.com/owa
What I am trying to do is publish my Remote Desktop Services webpage through Forefront TMG. Internally I have a redirect in the default.asp page that redirects
server.local to https://server.local/rdweb
That works great, and I can publish that fine using forefront, however in forefront it only publishes the root and so I have to type in /rdweb on my public page. I hope I have written that clearly. its taken me ages of trying to bring me here.
I have a frustrating one here. I am trying to publish websites, which with IIS work fine usnig default.asp pages to redirect them to subfolders. for example
www.publicname.com redirects to www.publicname.com/owa
What I am trying to do is publish my Remote Desktop Services webpage through Forefront TMG. Internally I have a redirect in the default.asp page that redirects
server.local to https://server.local/rdweb
That works great, and I can publish that fine using forefront, however in forefront it only publishes the root and so I have to type in /rdweb on my public page. I hope I have written that clearly. its taken me ages of trying to bring me here.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have just worked it out with your help. Many many thanks, you have no idea how that was frustrating me.
So, what I have done is a mapping for
External path / to internal path /owa and its redirecting. Excellent :-)
So, what I have done is a mapping for
External path / to internal path /owa and its redirecting. Excellent :-)
ASKER
Excellent, many thanks for your help
you're welcome.
ASKER
Hi Simon. Any change I can have a look at that screenshot. While I am able to redirect the paths for Remote Desktop Services, and it picks up the default.aspx file, I am getting
12202 Forefront TMG denied the specified Uniform Resource Locator (URL)
Scenario 1
the external path is set to / and the internal path is set to /rdweb
so I type in domain.name and it redirects it to domain.name/rdweb with the error above
if I set external path to <same as internal> and then internal path /rdweb/* and go to address domain.name/rdweb it works fine. What am I doing wrong? please :-)
12202 Forefront TMG denied the specified Uniform Resource Locator (URL)
Scenario 1
the external path is set to / and the internal path is set to /rdweb
so I type in domain.name and it redirects it to domain.name/rdweb with the error above
if I set external path to <same as internal> and then internal path /rdweb/* and go to address domain.name/rdweb it works fine. What am I doing wrong? please :-)
Set the internal path to /rdweb/* and the external to /*
I will have that screenshot on monday..
I will have that screenshot on monday..
Like I said, I would try setting internal path to /rdweb/* and the external to /*
That should be it.
isapaths.jpg
That should be it.
isapaths.jpg
ASKER
Hi Simon
That worked great however the icons wont display on the remote webpage, I just get rex crosses as though it cant find the picture file. In the end I set up a normal publishing rule, then above that, I set a copy of the rule, removed all the paths, set / to redirect to /* and then set a deny access and a rediret to the correct /rdweb folder. Works a treat. thanks for your help.
That worked great however the icons wont display on the remote webpage, I just get rex crosses as though it cant find the picture file. In the end I set up a normal publishing rule, then above that, I set a copy of the rule, removed all the paths, set / to redirect to /* and then set a deny access and a rediret to the correct /rdweb folder. Works a treat. thanks for your help.
ASKER