httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49298] mod_rewrite is quite useful but documentation hides it
Date Sat, 15 May 2010 23:19:31 GMT

--- Comment #2 from g1smd <> 2010-05-15 19:19:29 EDT ---
Minor changes for clarification. Most users just don't 'get it' when they read
the current docs.

The mod_rewrite module uses a rule-based rewriting engine, based on a
regular-expression parser, to rewrite requested URLs on the fly. By default,
mod_rewrite maps a URL to an internal filesystem path. However, it can also be
used to externally redirect one URL to another URL, or to invoke an HTTP proxy
fetch from the same or another domain.

mod_rewrite provides a flexible and powerful way to manipulate URL requests
using an unlimited number of rules. Each rule can have an unlimited number of
attached rule conditions, to allow you to rewrite the incoming URL request
based on server variables, environment variables, HTTP headers, or time stamps.

mod_rewrite operates on the full requested URL path, including the path-info
section. A rewrite rule can be invoked in httpd.conf or in .htaccess. The new
path generated by a rewrite rule can include an appended query string, and can
lead to internal sub-processing as a rewrite (when only the target filepath
and/or filename is specified), external request redirection (when a target
domain name and/or the [R] flag is specified), or proxy throughput (when using
the [P] or [PT] flags).

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message