Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

URL Rewrite Module for IIS

Posted on 2012-04-11
6
Medium Priority
?
766 Views
Last Modified: 2012-04-16
Hi to all,

I am working off the following tutorial:
http://learn.iis.net/page.aspx/461/creating-rewrite-rules-for-the-url-rewrite-module/

I am having a lot of trouble redirecting my url to the destination I need to. Here is the url I need to redirect:
https://mysite.com/OfficeSupply/DXR.axd?r=0_193-f8_D3

I need to redirect the above url to the following:
https://mysiteOtherSite.com/portal/server.pt/gateway/PTARGS_0_2_3829_435_0_43/DXR.axd?r=0_204-f8

How would I fill this in by using the URL Rewrite UI for IIS?

Thanks
0
Comment
Question by:ALawrence007
  • 3
  • 3
6 Comments
 
LVL 84

Expert Comment

by:David Johnson, CD, MVP
ID: 37836056
url rewrite rules assumes something is in common, you have nothing in common, ergo you have to map it by itself.

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="URL Rewrite Module for IIS" stopProcessing="true">
                    <match url="https://mysite.com/OfficeSupply/DXR.axd?r=0_193-f8_D3" />
                    <action type="Redirect" url="https://mysiteOtherSite.com/portal/server.pt/gateway/PTARGS_0_2_3829_435_0_43/DXR.axd?r=0_204-f8" logRewrittenUrl="true" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>
0
 

Author Comment

by:ALawrence007
ID: 37837844
ve3ofa,

Thank you for the reply.

Being completely new to this... Where do I enter the information you provided?

Thanks
0
 
LVL 84

Expert Comment

by:David Johnson, CD, MVP
ID: 37838765
Like so
0
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 

Author Comment

by:ALawrence007
ID: 37838852
I think I am missing something.

There is no sound with this screencast... Half way through it goes to a black screen and then the last 7 seconds there is a message on the screen stating "You might want to do this instead".

I would love to be able to see the screen cast because it looks like it is addressing my issue head-on.

Thanks
0
 
LVL 84

Accepted Solution

by:
David Johnson, CD, MVP earned 2000 total points
ID: 37839376
0
 

Author Closing Comment

by:ALawrence007
ID: 37852566
Thanks ve3ofa
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

885 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