URL Rewrite comes with a number of templates for common rules. These templates can be used to generate somewhat customized rules for you. Don't worry if some of the patterns or settings in the generated rules seem difficult to understand. The rules will make more sense as we progress through the chapter.
All templates share some common functionality, so rather than repeating them for each rule below, let's look at a mini-walk-through on how to start using a template:
It's from this point that we will pick up the rules below. The templates are broken into four categories:
These three templates will process incoming traffic on the way through. All three templates exist at the server, site, and subfolder level.