From 5b445e6c0152294df5bf7a1effd9556c0730399f Mon Sep 17 00:00:00 2001 From: Ash Clarke Date: Mon, 29 Jul 2013 16:26:55 +0100 Subject: [PATCH] Update README.md Added configuration for IIS servers. --- README.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/README.md b/README.md index 42208c2..f2d1dfc 100644 --- a/README.md +++ b/README.md @@ -214,6 +214,51 @@ The Grunt.js task uses the built in web server in PHP 5.4 to host the docs on yo This project contains a package.json file, so once you have the requirements installed, you can simply run a `npm install` and then `grunt` in the projects folder to start the local web server. By default the server will run at: http://localhost:8085 +## Running on IIS + +If you have set up a local or remote IIS web site, you may need a `web.config` with: + +* A rewrite configuration, for handling clean urls. +* A mime type handler for less files, if using a custom theme. + +### Clean URLs + +The `web.config` needs an entry for `` under ``: + +```xml + + + + + + + + + + + + + + + + +``` + +*Note*: To have clean URLs with IIS6, you will need to use a custom URL rewrite module, such as [URL Rewriter](http://urlrewriter.net/). + +### Less Mime Type + +The `web.config` needs a new `` entry, under `` in ``: + +```xml + + + +``` + +*Note*: Only add the mime map entry if you are using a custom theme and receive 404s for `.less` files. + If you have a global mime map entry for less files set, you will receive an internal server (500) error for having duplicate mime map entries. + ## Support If you need help using Daux.io, or have found a bug, please create an issue on the GitHub repo.