]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Adds tip of how to obtain the original requested URL, as per https://bz.apache.org...
authorRich Bowen <rbowen@apache.org>
Thu, 2 Jan 2020 18:03:34 +0000 (18:03 +0000)
committerRich Bowen <rbowen@apache.org>
Thu, 2 Jan 2020 18:03:34 +0000 (18:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1872258 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_dir.html.en
docs/manual/mod/mod_dir.xml

index 87bb7815c9624055dc64bcda648ed0265ec50d29..a1b775ca9ea85dfcbc59d7d1f13ac5d507a16c23 100644 (file)
@@ -309,6 +309,10 @@ later</td></tr>
     FallbackResource disabled
 &lt;/Directory&gt;</pre>
 
+    <p>A fallback handler (in the above case, <code>/blog/index.php</code>)
+    can access the original requested URL via the server variable
+    <code>REQUEST_URI</code>. For example, to access this variable in PHP,
+    use <code>$_SERVER['REQUEST_URI']</code>.</p>
 
 </div>
 </div>
index 2ec037afa3be68d23d1ce1e20c939d1c444918d4..63f980eadbd42253d7fd38ac6530f47ec81e3096 100644 (file)
@@ -274,6 +274,10 @@ later</compatibility>
     FallbackResource disabled
 &lt;/Directory&gt;
     </highlight>
+    <p>A fallback handler (in the above case, <code>/blog/index.php</code>)
+    can access the original requested URL via the server variable
+    <code>REQUEST_URI</code>. For example, to access this variable in PHP,
+    use <code>$_SERVER['REQUEST_URI']</code>.</p>
 </usage>
 </directivesynopsis>
 <directivesynopsis>