Return-Path:
The These variables all
correspond to the similarly named HTTP
- MIME-headers, C variables of the Apache server or
+ MIME-headers, C variables of the Apache HTTP Server or
The variables SCRIPT_FILENAME and REQUEST_FILENAME
contain the same value - the value of the
The Here, the source is an internal Apache function.
+ Here, the source is an internal Apache httpd function.
Currently you cannot create your own, but the following
functions already exist: This program is started once, when the Apache server
+ This program is started once, when the Apache httpd server
is started, and then communicates with the rewriting engine
via its When the RewriteRule appears in per-directory (htaccess) context, the
Pattern is matched against what remains of the URL after removing
- the prefix that lead Apache to the current rules (see the
+ the prefix that lead Apache httpd to the current rules (see the
The The Here, the source is an internal Apache function.
+ Here, the source is an internal Apache httpd function.
Currently you cannot create your own, but the following
functions already exist: This program is started once, when the Apache server
+ This program is started once, when the Apache httpd server
is started, and then communicates with the rewriting engine
via its These variables all
correspond to the similarly named HTTP
- MIME-headers, C variables of the Apache server or
+ MIME-headers, C variables of the Apache HTTP Server or
The variables SCRIPT_FILENAME and REQUEST_FILENAME
contain the same value - the value of the
When the RewriteRule appears in per-directory (htaccess) context, the
Pattern is matched against what remains of the URL after removing
- the prefix that lead Apache to the current rules (see the
+ the prefix that lead Apache httpd to the current rules (see the
The In the first form, the value will be set to "1". The second
will remove the given variable if already defined, and the
third will set the variable to the literal value given by
- Status: Extension
-Module Identifier: rewrite_module
-Source File: mod_rewrite.c
+Compatibility: Available in Apache 1.3 and later Source File: mod_rewrite.c Summary
mod_rewrite
module uses a rule-based rewriting
@@ -233,7 +232,7 @@ RewriteRule ^index\.html$ newsite.html
struct tm
fields of the Unix system.
Most are documented elsewhere in the Manual or in
the CGI specification. Those that are special to
@@ -250,12 +249,12 @@ RewriteRule ^index\.html$ newsite.html
API_VERSION
filename
field of the internal
- request_rec
structure of the Apache server.
+ request_rec
structure of the Apache HTTP Server.
The first name is the commonly known CGI variable name
while the second is the appropriate counterpart of
REQUEST_URI (which contains the value of the
@@ -322,8 +321,8 @@ RewriteRule ^index\.html$ newsite.html
%{ENV:variable}
, where variable can be
any environment variable, is also available.
This is looked-up via internal
- Apache structures and (if not found there) via
- getenv()
from the Apache server process.
+ Apache httpd structures and (if not found there) via
+ getenv()
from the Apache httpd server process.
%{SSL:variable}
, where variable is the
@@ -611,7 +610,7 @@ processing
Security
-See the Apache Security Tips
+See the Apache HTTP Server Security Tips
document for details on how your security could be compromised if the
directory where logfiles are stored is writable by anyone other than
the user that starts the server.
@@ -644,7 +643,7 @@ engine
logs.
Status: Extension Module: mod_rewrite
+Apache HTTP Server 2.0.41 and later
Compatibility: The choice of different dbm types is available in
-Apache 2.0.41 and later RewriteMap
directive defines a
Rewriting Map which can be used inside rule
@@ -799,10 +798,10 @@ $ httxt2dbm -i mapfile.txt -o mapfile.ma
- MapType: int
, MapSource: Internal Apache
+ MapType: int
, MapSource: Internal Apache httpd
function
- #!/path/to/interpreter
' as the first
line).
- stdin
and stdout
file-handles. For each map-function lookup it will
@@ -871,7 +870,7 @@ while (<STDIN>) {
RewriteBase
). The removed prefix
always ends with a slash, meaning the matching occurs against a string which
never has a leading slash. A Pattern with ^/
never
Modified: httpd/httpd/trunk/docs/manual/mod/mod_rewrite.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_rewrite.xml?rev=926416&r1=926415&r2=926416&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_rewrite.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_rewrite.xml Tue Mar 23 00:46:17 2010
@@ -30,7 +30,6 @@ URLs on the fly
- MapType: int
, MapSource: Internal Apache
+ MapType: int
, MapSource: Internal Apache httpd
function
- #!/path/to/interpreter
' as the first
line).stdin
and stdout
file-handles. For each map-function lookup it will
@@ -424,7 +423,7 @@ while (<STDIN>) {
struct tm
fields of the Unix system.
Most are documented elsewhere in the Manual or in
the CGI specification. Those that are special to
@@ -662,12 +661,12 @@ RewriteRule ^index\.html$ newsite.html
API_VERSION
filename
field of the internal
- request_rec
structure of the Apache server.
+ request_rec
structure of the Apache HTTP Server.
The first name is the commonly known CGI variable name
while the second is the appropriate counterpart of
REQUEST_URI (which contains the value of the
@@ -734,8 +733,8 @@ RewriteRule ^index\.html$ newsite.html
%{ENV:variable}
, where variable can be
any environment variable, is also available.
This is looked-up via internal
- Apache structures and (if not found there) via
- getenv()
from the Apache server process.getenv()
from the Apache httpd server process.%{SSL:variable}
, where variable is the
@@ -996,7 +995,7 @@ RewriteRule ^/$ /homepa
^/
never
Modified: httpd/httpd/trunk/docs/manual/mod/mod_setenvif.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_setenvif.html.en?rev=926416&r1=926415&r2=926416&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_setenvif.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_setenvif.html.en Tue Mar 23 00:46:17 2010
@@ -60,7 +60,7 @@ on characteristics of the request
See also
Override: FileInfo Status: Base
-Module: mod_setenvif Compatibility: Apache 1.2 and
- above (in Apache 1.2 this directive was found in the
- now-obsolete mod_browser module) BrowserMatchNoCase
directive is
@@ -222,7 +219,7 @@ ofvalue
. Since version 2.0.51 Apache will
+ value
. Since version 2.0.51, Apache httpd will
recognize occurrences of $1
..$9
within
value and replace them by parenthesized subexpressions
of regex.
The SetEnvIfNoCase
is semantically identical to
Modified: httpd/httpd/trunk/docs/manual/mod/mod_setenvif.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_setenvif.xml?rev=926416&r1=926415&r2=926416&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_setenvif.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_setenvif.xml Tue Mar 23 00:46:17 2010
@@ -49,7 +49,7 @@ on characteristics of the request
-
In the first form, the value will be set to "1". The second
will remove the given variable if already defined, and the
third will set the variable to the literal value given by
- value
. Since version 2.0.51 Apache will
+ value
. Since version 2.0.51, Apache httpd will
recognize occurrences of $1
..$9
within
value and replace them by parenthesized subexpressions
of regex.