Rule Templates
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:
- Inbound rules
- Inbound and Outbound rules
- Outbound rules
- Search Engine Optimization (SEO)
Inbound Rule Templates
These three templates will process incoming traffic on the way through. All three templates exist at the server, site, and subfolder level.
Get Professional Microsoft IIS 8 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.