Solved

Forefront TMG WebPublishing redirect to sub folders in websites

Posted on 2010-09-01
9
3,635 Views
Last Modified: 2012-06-27
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.
0
Comment
Question by:stefanjoc
  • 5
  • 4
9 Comments
 
LVL 10

Accepted Solution

by:
simonlimon earned 500 total points
ID: 33590399
You have to use path mapping, right click the publish rule and select the paths tab, i will post a screenshot for you.
0
 

Author Comment

by:stefanjoc
ID: 33590858
Hi ya.  I can see where the paths are, however even though the path mapping is set, I still have to type /owa and /rdweb?  A screen shot would be great :-)
0
 

Author Comment

by:stefanjoc
ID: 33591942
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 :-)
0
 

Author Closing Comment

by:stefanjoc
ID: 33591946
Excellent, many thanks for your help
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 10

Expert Comment

by:simonlimon
ID: 33593958
you're welcome.
0
 

Author Comment

by:stefanjoc
ID: 33604181
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 :-)
0
 
LVL 10

Expert Comment

by:simonlimon
ID: 33604390
Set the internal path to /rdweb/* and the external to /*

I will have that screenshot on monday..
0
 
LVL 10

Expert Comment

by:simonlimon
ID: 33609692
Like I said, I would try setting internal path to /rdweb/* and the external to /*

That should be it.
isapaths.jpg
0
 

Author Comment

by:stefanjoc
ID: 33610025
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.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
A ISA2006 Replacement suggestion 1 319
lync 2013 connectivity issue 6 1,785
Lync 2013 External Authentication 1 610
AntStatsServ.exe.hdmp file safe to delete? 1 57
Microsoft's ISA Server has been its pre-eminent security product for about a decade and is still regarded amongst the well-informed as one of the best software firewalls and application gateways ever released, by any manufacturer. ISA Server has bee…
So the following errors occurs in 2 ways that I am aware of at this stage, and you receive one of the following error messages: ERROR 1. When trying to save a rule: No Web listener is specified for the Web publishing rule Autodiscovery Publishin…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now