Solved

IIS URLRewrite

Posted on 2014-11-04
3
129 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

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

Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
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 …
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
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.

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