From: Rich Bowen Date: Thu, 2 Jan 2020 18:02:59 +0000 (+0000) Subject: Adds tip of how to obtain the original requested URL, as per https://bz.apache.org... X-Git-Tag: 2.5.0-alpha2-ci-test-only~1730 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b88ce28e905a5bb44d836d5155c9c49e64e50e9;p=thirdparty%2Fapache%2Fhttpd.git Adds tip of how to obtain the original requested URL, as per https://bz.apache.org/bugzilla/show_bug.cgi?id=64042 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1872257 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_dir.html.en b/docs/manual/mod/mod_dir.html.en index 60fc77c3c39..e0f7505cf8e 100644 --- a/docs/manual/mod/mod_dir.html.en +++ b/docs/manual/mod/mod_dir.html.en @@ -308,6 +308,10 @@ later FallbackResource disabled </Directory> +

A fallback handler (in the above case, /blog/index.php) + can access the original requested URL via the server variable + REQUEST_URI. For example, to access this variable in PHP, + use $_SERVER['REQUEST_URI'].

diff --git a/docs/manual/mod/mod_dir.xml b/docs/manual/mod/mod_dir.xml index 72901398e92..eed99c595d4 100644 --- a/docs/manual/mod/mod_dir.xml +++ b/docs/manual/mod/mod_dir.xml @@ -274,6 +274,10 @@ later FallbackResource disabled </Directory> +

A fallback handler (in the above case, /blog/index.php) + can access the original requested URL via the server variable + REQUEST_URI. For example, to access this variable in PHP, + use $_SERVER['REQUEST_URI'].