Commit 536572c1 authored by Christophe Jaillet's avatar Christophe Jaillet
Browse files

Document built-in DOCUMENT_PATH_INFO and USER_NAME that have been available...

Document built-in DOCUMENT_PATH_INFO and USER_NAME that have been available and undocumented for years (already present in the very first commit of mod_include.c in svn history in 1999!)

Tested and works like a charm.

Spotted while looking at PR 34405.

(r1827705 in trunk)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1827716 13f79535-47bb-0310-9956-ffa450edef68
parent db84421c
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -552,6 +552,11 @@ Options +Includes
      <dd>The filename (excluding directories) of the document
      requested by the user.</dd>

      <dt><code>DOCUMENT_PATH_INFO</code></dt>
      <dd>The trailing pathname information. See directive <directive
      module="core">AcceptPathInfo</directive> for more information
      about <code>PATH_INFO</code>.</dd>

      <dt><code>DOCUMENT_URI</code></dt>
      <dd>The (%-decoded) URL path of the document requested by the
      user. Note that in the case of nested include files, this is
@@ -573,6 +578,9 @@ Options +Includes
      backslashes).  It is not set if a query string is not
      present.  Use <code>DOCUMENT_ARGS</code> if shell escaping
      is not desired.</dd>

      <dt><code>USER_NAME</code></dt>
      <dd>The user name of the owner of the file.</dd>
    </dl>
</section>