Installing Magento eCommerce on Windows and IIS 7

Wednesday, 20 July 2011 15:07 by Ben

Don’t be too put off by the system requirements on the Magentocommerce website, Magento is surprisingly easy to install and run on Windows and IIS 7.

We are currently developing a new ecommerce platform for an online t-shirt business specialising in music t-shirts.  In the past, we have used dashcommerce with great success, for example on Logs Direct. Unfortunately, dashcommerce has ceased to be living open source project.  Also, we develop primarily using mvc.net these days so I wanted to find an ecommerce solution based around mvc.net 3. 

The best mvc.net solution I could find was Orchard.  This is a really great platform but it doesn’t have a mature shop or ecommerce component, which is unfortunate, and perhaps somewhat strange, as I believe the codebase is founded upon Rob Connery’s MVC.NET ecommerce Kona project.

So, despite numerous reservations about Magento (the platform has a reputation for being slow, overly-complex, unwieldy, unsupported on Windows, good at marketing itself but lacklustre at delivering what it promises), I decided to have a bash at installing it on Windows Server 2008 running IIS 7.5 just to see what would happen/how hard it was.  It was surprisingly easy.

These are the steps I followed:

  • Prerequisites: We already have a Windows 2008 IIS 7.5 server setup running a number of PHP platforms (SugarCRM and CakePHP based web applications) so I think this helped a bit.  I didn’t have to install any extra components but these are the relevant ones I believe you need to install using the web platform installer:
    1. PHP 5.2.17
    2. IIS: CGI
    3. Windows Cache Extension 1.1 for PHP 5.2
    4. URL Rewrite 2.0
  • Install MYSQL: Once you have IIS setup, you also need a working mysql instance http://dev.mysql.com/downloads/
  • Upload Magento Install: Create a new website in IIS and copy/FTP the Magento 1.5.10 install files into the website directory.
  • Setting up the URL re-write rules:  This step is the key to a smooth Magento install.  Create a new web.config file in the base install directory and then copy the following URL rewrite rules in:
  • <?xml version="1.0" encoding="UTF-8"?> 
       <configuration> 
        <system.webServer>
        <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" negate="true" /> 
          <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> 
        </conditions> <action type="Rewrite" url="index.php" /> 
        </rule> 
       </rules> 
       </rewrite> 
      </system.webServer> 
    </configuration>
  • Permissions: I also encountered some permission problems which were a little tricky to diagnose as magento hides errors by default.  You simply receive a generic “There has been an error processing your request” message.  To print errors to screen, I followed the guide here - http://www.designersandbox.com/magento/fix-for-magento-1-4-install-does-not-work/.  

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Holiday Home Marketing Tricks

Thursday, 1 October 2009 18:47 by Brian

There are a few useful tricks we regularly use to market new holiday home sites. Invosoft recently blogged about holiday home SEO and the importance of having your own web presence. However, there are a few specific tricks I have learnt since then that I’d like to bring to your attention.

Find London vacation rentals on FlipKey

Get your past guests to write reviews

These could be on your website but are far more effective on popular travel sites like travelpod.com and ivebeenthere.co.uk. Both sites are really popular, ranked heavily in the search engines and let the reviewer leave live links in back to your site.

Sign up for Flipkey.com 

Not only do they have a great review service which allows you to send out review reminders to all your past guests, you get a listing on both FlipKey and TripAdvisor! (the FlipKey page has a link back but the TripAdvisor page doesn’t). There are also a host of cool widgets you can use to promote your listing and reviews (like the one on the right).  The only drawback is it’s a paid for service. However, at a current $1.99/month until December, it’s worth a shot – you never know, you may get a few extra enquiries!

Thanks to Tom Henry of YouPR - journalist-inspired public relations for contributing to this article. 

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5