htaccesstowebconfig.com

htaccess to web.config online converter


Below is an automatic way to convert .htaccess to Web.Config. Normally, you can do this using IIS Manager, however for quick and easy conversion, you can use the converter below to convert your htaccess. You don't have to download any application to convert .htaccess to Web.Config, just put the .htaccess code in the box below and click "convert to Web.Config" then the .htaccess will be automatically converted to Web.Config code.

Ex: RewriteRule ^index.html$ http://www.yoursite.com/ [R=301,L]


Translate .htaccess Content to IIS web.config

Many PHP applications are distributed with configuration files for the Apache Web server. These configuration files (usually called .htaccess files) contain a number of settings that can be used for integrating the application with the capabilities of the Web server. IIS 7 and above uses a file called Web.config to hold settings for integration with applications. The Web.config file contains information that control module loading, security configuration, session state configuration, and application language and compilation settings. Web.config files can also contain application-specific items such as database connection strings. Click here to see article that describes the most common uses of the .htaccess file by PHP applications, and shows how to use the Web.config file for these same functions in IIS.