Using .htaccess with IIS

7

3

It is necessary for me to make it possible for .htaccess files to be usable with IIS. Is there a way for this to be done? I know that on its own, IIS is not capable of handling this, but could I perhaps install some third party application that could do this for IIS?

DaveTheMinion

Posted 2014-08-19T23:51:03.783

Reputation: 4 578

Answers

9

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

Tristan CHARBONNIER

Posted 2014-08-19T23:51:03.783

Reputation: 218

Thanks! Even though this question is old, I never found a good solution. – DaveTheMinion – 2015-08-23T14:57:40.383

According to Bjorgen Eatinger's answer Helicon Technology is no longer in business.

– Albin – 2018-11-19T01:26:34.000

8

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

Devian

Posted 2014-08-19T23:51:03.783

Reputation: 536

3

MS is pretty horrible at tutorials. Here is a good one: http://www.saotn.org/convert-apache-htaccess-iis-web-config/#.U_QdKvldUqx I would also be very cautious using an online converter for this purpose. Some of the information in your .htaccess file could be best to keep confidential.

– krowe – 2014-08-20T04:02:49.897