Solved

URL Rewriting IIS

Posted on 2011-03-17
5
284 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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

728 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