Solved

IIS rewrite from an IIS web site to a site on a SharePoint server.

Posted on 2014-12-09
5
176 Views
Last Modified: 2014-12-23
Hi, we have an old .NET application running on IIS 7 that has been redeveloped in Sharepoint.  
The issue I am having problems with is all the OLD links and favourites that people have lay around.  We can just switch off and break them so need to find some way of redirecting to the same source document but in SharePoint.

For example:
OLD LINK -  http://dontknowhow.domain.com/documents/PatientLeaflets/insulin%20adjustment%20guidelines%20-%20basal%20bolus%20rapid%20acting%20analogue.pdf

We need it to be redirected BY IIS7 on dontknowhow.domain.com  to
NEW LINK - http://sharepoint.domain.com/Documents/insulin%20adjustment%20guidelines%20-%20basal%20bolus%20rapid%20acting%20analogue.pdf

The BOLD bit is the actual document name and stays the same.

The old link could start with ANY of :-
http://dontknowhow.domain.com/documents/PatientLeaflets
http://dontknowhow.domain.com/documents/Documents
http://dontknowhow.domain.com/documents/Policies

The new link will always start with:-
http://sharepoint.domain.com/Documents  followed by the document name.

Any ideas on how this could be achieved?

Regards,

Neil
0
Comment
Question by:Neil Russell
  • 3
5 Comments
 
LVL 9

Expert Comment

by:Mohit Nair
ID: 40490607
Try adding an entry in IIS > IIS redirect. There you would find an option to put the old url and redirect to url.
0
 
LVL 37

Author Comment

by:Neil Russell
ID: 40495818
Well ok given the above, can you explain how that is achieved?
Add a redirect is hardly an answer to a question that explain in depth exactly what needs to be achieved.
0
 
LVL 7

Accepted Solution

by:
Ray earned 500 total points
ID: 40501347
0
 
LVL 37

Author Comment

by:Neil Russell
ID: 40514460
Regardless of how I do the rule It seems to be ignored and I get a 404 error for ANY url starting with

  http://dontknowhow.domain.com/documents/Policies/
0
 
LVL 37

Author Closing Comment

by:Neil Russell
ID: 40514476
With a little work I finally have a working redirect now :D

Cheers
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 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

21 Experts available now in Live!

Get 1:1 Help Now