This is a post to help people know that there is a free URL rewrite for IIS7 that microsoft has built and it is pretty darn snazzy. You can get the download from here: http://www.iis.net/downloads/default.aspx?tabid=34&g=6&i=1691.
The documentation for the rewrite tool is here: http://learn.iis.net/page.aspx/460/using-url-rewrite-module/
A nice video of how to configure the tool is here: http://learn.iis.net/page.aspx/506/url-rewrite-module---video-walkthrough/
After downloading and installing, you need to configure the rewrite for a specific website you have created. You can do that by using the included web.config in the SESRewriteRules folder of the installation directory of the ColdBox download. Below is the contents of the file that you can use to import right in to enable Full SES rewriting within IIS7 and any servlet container. As always when using code from somebody else, please try it out first. So try out the following rules and tweak as desired.
Add Your Comment