Professional Microsoft IIS 8
by Kenneth Schaefer, Jeff Cochran, Scott Forsyth, Dennis Glendenning, Benjamin Perkins
Chapter 19
URL Rewrite
What's in this chapter?
- URL Rewrite concepts
- Obtaining and installing URL Rewrite
- Getting started walk-through
- Managing URL Rewrite
- Applying URL Rewrite rules
- Rule templates
- Input variables
- Wildcards pattern matches
- Regular Expressions
- Back-references
- Setting server variables
- Special considerations
- Rewrite maps
- Common rules
- Outbound rules
- Troubleshooting URL Rewrite
wrox.com code downloads for this chapter
The wrox.com code downloads for this chapter are found at www.wrox.com/remtitle.cgi?isbn=1118388046 on the Download Code tab.
Imagine if you could take all incoming requests to your web server and manipulate them at will. Imagine changing the HTTP headers on the fly or redirecting the user to another URL, only under certain circumstances that you specify. Or, envision yourself providing a friendly URL for the sake of the search engines while using query strings in the background. URL Rewrite offers extensive power and flexibility for all this, and more.
This chapter introduces URL Rewrite and the various concepts necessary to effectively use it. URL Rewrite isn't tied directly to IIS, so updates may occur between major versions of IIS. The current version at the time of this writing is URL Rewrite 2.0.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access