Using .htaccess with IIS

You can use this software :

http://www.helicontech.com/ape/

Helicon Ape provides support for Apache .htaccess and .htpasswd configuration files in Microsoft IIS. It literally implements Apache configuration model and nearly all Apache modules in a single IIS add-on, not only making IIS compatible with Apache, but also extending it`s functionality by a number of highly essential features.

Includes following modules: mod_rewrite, mod_proxy, mod_auth, mod_gzip, mod_headers, mod_cache, mod_expires, mod_replace and others. You can check all currently available modules in the compatibility chart (the list is growing with new builds).

http://www.helicontech.com/ape/doc/compatibility.htm


In IIS (Internet Information Server) the equivalent of .htaccess is web.config

You can read more about Web.config Here and Here

And some htaccess to web.config converting tools here and here