Solved

IIS URLRewrite

Posted on 2014-11-04
3
134 Views
Last Modified: 2014-11-13
Is it possible to redirect http://server1/folder1 to http://server2/folder1 using URLRewrite if we do not have "folder1" on the server1 and we do not want to create it?
If that is possible, could you tell me to achieve it with URLRewrite?

Thanks,
Budj
0
Comment
Question by:DentonDIS
  • 2
3 Comments
 
LVL 21

Expert Comment

by:MogalManic
ID: 40424277
URLRewrite (http://www.iis.net/downloads/microsoft/url-rewrite) is an IIS module that translates this: http://mySite/article/342/some-article-title
to:
http://MySite/article.aspx?id=342&title=some-article-title.

You still have to write the article.aspx page to query the database to retrieve the article.

What you want is some sort of redirect.  You can either trap the 404 error on a custom page, or have a handler that redirects the user to the new page.

Another possibility would be to use the Server.Transfer to have the alternate URL render the page contents without having the client redirect to the other server (i.e. the client will still think you are on server1)
0
 

Accepted Solution

by:
DentonDIS earned 0 total points
ID: 40430480
Admin, please close this question. I decided to do different way.Thanks.
0
 

Author Closing Comment

by:DentonDIS
ID: 40439488
I decided to use a different way.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
Before we dive into the marketing strategies involved with creating an effective homepage, it’s crucial that EE members know what a homepage is. In essence, a homepage is the introductory, or default page, of a website that typically highlights the …
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

829 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