Solved

URL Rewriting IIS

Posted on 2011-03-17
5
275 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 35

Expert Comment

by:Robert Schutt
ID: 35164144
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
ID: 35164660
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
ID: 35165852
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
ID: 35731312
how can i install URL rewriter in IIS?
0
 

Author Closing Comment

by:Dinesh Kumar
ID: 39365975
Thank you.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

733 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