Microsoft Azure Open Source Development Support Team Blog

Support for Open Source Technologies on Microsoft Azure App Service

Magento Web.Config for Azure and IIS

After installing Magento on Azure, here is the web.config file that should be within the wwwroot folder. <?xml version="1.0" encoding="UTF-8"?>  <configuration>      <system.webServer>          <rewrite>              <rules>                 <!–## rewrite API2 calls to api.php (by now it is REST only)–>                 <rule name="Rewrite API2 calls to api.php" stopProcessing="true">                   <match url="^api/rest" ignoreCase="false" />                   <action… Read more

Converting Apache .htaccess rules to IIS web.config using IIS Manager for Azure Websites

Web.config – the settings and configuration file for a Windows IIS Web Application. .htaccess – the default filename of the directory-level configuration file for a Linux Apache Web Application.   Disclaimer: The URL Rewrite tool by IIS Manager gives you suggested web.config rules. Since it is not a one-to-one conversion, the recommendation is to test… Read more