You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2020/01/02 18:03:00 UTC

svn commit: r1872257 - in /httpd/httpd/trunk/docs/manual/mod: mod_dir.html.en mod_dir.xml

Author: rbowen
Date: Thu Jan  2 18:02:59 2020
New Revision: 1872257

URL: http://svn.apache.org/viewvc?rev=1872257&view=rev
Log:
Adds tip of how to obtain the original requested URL, as per https://bz.apache.org/bugzilla/show_bug.cgi?id=64042

Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_dir.html.en
    httpd/httpd/trunk/docs/manual/mod/mod_dir.xml

Modified: httpd/httpd/trunk/docs/manual/mod/mod_dir.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_dir.html.en?rev=1872257&r1=1872256&r2=1872257&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_dir.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_dir.html.en Thu Jan  2 18:02:59 2020
@@ -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>

Modified: httpd/httpd/trunk/docs/manual/mod/mod_dir.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_dir.xml?rev=1872257&r1=1872256&r2=1872257&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_dir.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_dir.xml Thu Jan  2 18:02:59 2020
@@ -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>