Pre-requisites
- Microsoft Windows Server 2008 R2 or 2012
Installation process
- Install IIS7/8 with FastCGI support
- Download Zend server for windows
- Install Zend server and also select to install phpmyadmin and mySQL in that package
- Download and install the UrlRewrite module for IIS7 from Microsoft (http://www.iis.net/downloads/default.aspx?tabid=34&g;=6&i;=1691)
- Configure IIS for you domain name
- Copy all the Magento installation file into that website's wwwroot
- Create a database in phpmyAdmin and insert the demo Magento data sql script
- Open the web.config file in you web directory and insert this:
<rewrite>
<rules>
<rule name="Imported Rule 1” stopProcessing="true">
<match url=".*" ignoreCase="false" />
<conditions>
<add input="{URL}" pattern="^/(media|skin|js)/" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite\" url="index.php" />
</rule>
</rules>
</rewrite>
- Start the web installation of Magento and remember to choose the option to use “url rewrite\”.
- Enjoy, you now have a Magento installation that runs on Server 2008 and IIS7 and that is very fast and support url rewrite.