how to convert Apache mod_rewrite rules to Microsoft URL Rewriter IIS7?

Posted by ricky on Stack Overflow See other posts from Stack Overflow or by ricky
Published on 2010-04-26T20:14:53Z Indexed on 2010/04/27 2:23 UTC
Read the original article Hit count: 298

can someone tell me how to convert apache iis7 mod_rewrite .htaccess file to the equivalent web.config in MS Url Rewriter?

Here is the .htaccess file I have:

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L]
</IfModule>

© Stack Overflow or respective owner

Related posts about mod-rewrite

Related posts about url-rewriting