httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49298] mod_rewrite is quite useful but documentation hides it
Date Sat, 15 May 2010 23:19:31 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49298

--- Comment #2 from g1smd <g1smd@freeuk.com> 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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message