Solved

URL Rewrite Module for IIS

Posted on 2012-04-11
6
753 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 78

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 78

Expert Comment

by:David Johnson, CD, MVP
ID: 37838765
Like so
0
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.

 

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 78

Accepted Solution

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

Author Closing Comment

by:ALawrence007
ID: 37852566
Thanks ve3ofa
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

895 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

19 Experts available now in Live!

Get 1:1 Help Now