From: Joshua Slive Date: Tue, 27 Feb 2001 21:36:14 +0000 (+0000) Subject: Some details on mod_rewrite variables. X-Git-Tag: 2.0.14~54 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00d504b64bd17012e4316ed6c84fa6ee31895abb;p=apache Some details on mod_rewrite variables. Submitted by: Miguel Cruz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88373 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_rewrite.html b/docs/manual/mod/mod_rewrite.html index 52bdb988b3..812e755ccc 100644 --- a/docs/manual/mod/mod_rewrite.html +++ b/docs/manual/mod/mod_rewrite.html @@ -1137,9 +1137,42 @@ IS_SUBREQ

-Notice: These variables all correspond to the similarly named -HTTP MIME-headers, C variables of the Apache server or struct tm -fields of the Unix system. + +

Notice: These variables all correspond to +the similarly named HTTP MIME-headers, C variables of the Apache +server or struct tm fields of the Unix system. Most +are documented elsewhere in the Manual or in the CGI specification. +Those that are special to mod_rewrite include:

+ +
+
IS_SUBREQ
+
Will contain the text "true" if the request currently +being processed is a sub-request, "false" otherwise. Sub-requests may +be generated by modules that need to resolve additional files or URIs +in order to complete their tasks.
+ +
API_VERSION
+
This is the version of the Apache module API (the internal +interface between server and module) in the current httpd build, as +defined in include/ap_mmn.h. The module API version corresponds to the +version of Apache in use (in the release version of Apache 1.3.14, for +instance, it is 19990320:10), but is mainly of interest to module +authors.
+ +
THE_REQUEST
+
The full HTTP request line sent by the browser to the server +(e.g., "GET /index.html HTTP/1.1"). This does not include +any additional headers sent by the browser.
+ +
REQUEST_URI
+
The resource requested in the HTTP request line. (In the +example above, this would be "/index.html".)
+ +
REQUEST_FILENAME
+
The full local filesystem path to the file or script +matching the request.
+
+