From: Rich Bowen mod_rewrite uses a rule-based rewriting engine (based on a
- regular-expression parser) to rewrite requested URLs on the
- fly. It supports an unlimited number of rules and an
+ It supports an unlimited number of rules and an
unlimited number of attached rule conditions for each rule to
provide a really flexible and powerful URL manipulation
mechanism. The URL manipulations can depend on various tests:
server variables, environment variables, HTTP
- headers, time stamps external database lookups, and various other
- external processes or handlers, can be used to achieve granular URL
+ headers, time stamps, external database lookups, and various other
+ external programs or handlers, can be used to achieve granular URL
matching. Rewrite rules can operate on the full URLs, including the path-info
@@ -46,7 +49,8 @@
type="section" module="core">Directory blocks). The
rewritten result can lead to further rules, internal
sub-processing, external request redirection, or proxy
- passthrough.
Since mod_rewrite is so powerful, it can indeed be rather complex. This document supplements the