Solved

URL Rewriting IIS

Posted on 2011-03-17
5
240 Views
Last Modified: 2013-07-29
I had done url rewriting in iis6 but because now the site is shifted to another server having iis7.5. The url rewriting has stopped working.

How can I do URL Rewriting in IIS7.5?

it will be good if i can use IIS6's url rewriting in IIS7.5 too instead of doing things from scratch.

0
Comment
Question by:Dinesh Kumar
5 Comments
 
LVL 35

Expert Comment

by:Robert Schutt
Comment Utility
What is "IIS6's url rewriting" method? wasn't that already something that was installed seperately on your old webserver instead?

if the old method has an export function or you have that data in say an excel sheet you should be able to import that into a new url-rewriting module. I'm not sure how but I read good things about this one: http://urlrewriter.net/
0
 
LVL 2

Accepted Solution

by:
enkor earned 250 total points
Comment Utility
1) Install URL rewriter to your IIS
2) use its GUI or edit web.config (of your app) directly to set up the rules

Example part of web.config into <system.webServer></system.webServer> node:

<rewrite>
      <rules>
        <clear />

        <rule name="gallery list" stopProcessing="true">
          <match url="^phtogallery/?$" />
          <action type="Rewrite" url="photogalleries.aspx" />
        </rule>
        <rule name="gallery detail" stopProcessing="true">
          <match url="^g([0-9]+)-([^/]+)?$" />
          <action type="Rewrite" url="detail-gallery.aspx?id={R:1}" />
        </rule>          
          
      </rules>
    </rewrite>

Open in new window

0
 
LVL 17

Expert Comment

by:Rovastar
Comment Utility
IIS6 did have microsoft's own rewriting module. You had to install/buy a third party one.

What is this ISAPI filter did you  installed on your IIS6 machine?

So find out what you had before and visit the devs site and see if they have a IIS7 one. Or like robert said export them.

IIS7 has Microsoft's own URLrewrite that many use now.

http://www.iis.net/download/urlrewrite
0
 

Author Comment

by:Dinesh Kumar
Comment Utility
how can i install URL rewriter in IIS?
0
 

Author Closing Comment

by:Dinesh Kumar
Comment Utility
Thank you.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This tutorial will show you how to add an attribute to an XML (http://en.wikipedia.org/wiki/XML) stream returned from a Windows Communication Foundation (http://en.wikipedia.org/wiki/Windows_Communication_Foundation) (WCF) Web Service.  Some knowled…
Lync server 2013 Backup Service Error ID 4049 – After File Share Migration
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

763 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

10 Experts available now in Live!

Get 1:1 Help Now