From: Rich Bowen Date: Thu, 2 Jan 2020 18:03:34 +0000 (+0000) Subject: Adds tip of how to obtain the original requested URL, as per https://bz.apache.org... X-Git-Tag: 2.4.42~164 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbd581659d2c09aa9b5ddbf4657f9d87a09c6821;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/branches/2.4.x@1872258 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_dir.html.en b/docs/manual/mod/mod_dir.html.en index 87bb7815c96..a1b775ca9ea 100644 --- a/docs/manual/mod/mod_dir.html.en +++ b/docs/manual/mod/mod_dir.html.en @@ -309,6 +309,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 2ec037afa3b..63f980eadbd 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'].