]> 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:02:59 +0000 (18:02 +0000)
committerRich Bowen <rbowen@apache.org>
Thu, 2 Jan 2020 18:02:59 +0000 (18:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1872257 13f79535-47bb-0310-9956-ffa450edef68

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

index 60fc77c3c39e393b8cdeb389a5ff5079e0a82592..e0f7505cf8ebefafd3ac9c1e58be95fe1088aee4 100644 (file)
@@ -308,6 +308,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 72901398e92adf79b691c1d865057461612158d3..eed99c595d4ab42ffb904415f4dc2e9666e817df 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>