We help IT Professionals succeed at work.

Converting ISAPI Rewrite (IIS6) rules to IIS7 Url Rewrite

trg_dk asked
Hello :-)

Moving from a old(er) server running Win2003/IIS6 along a ISAPI Rewrite module, I having some difficulties converting the rewrite rules to IIS7.

Can some of you guys help me out ?

What I'm trying to do, is to allow the user to write links without ".asp"

eg. http://www.myserver.com/mypage goes to www.myserver.com/mypage.asp

Currently it uses a rewrite string as below, it tells me nothing - does it provide any help ?
^/(?!oloadmin|filer|grafik)([a-zA-Z]{2})/([a-zA-Z0-9\-_]+)/$ \/$1\/default\.asp\?filnavn=\/$1\/$2\.asp

Best regards,
Watch Question

You can just use the same code in the new isapi rewrite module. It should work.There is a plugin which u can also use helicon rewrite module its pretty easy. www.helicontech.com for free