From dbd581659d2c09aa9b5ddbf4657f9d87a09c6821 Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Thu, 2 Jan 2020 18:03:34 +0000 Subject: [PATCH] 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 --- docs/manual/mod/mod_dir.html.en | 4 ++++ docs/manual/mod/mod_dir.xml | 4 ++++ 2 files changed, 8 insertions(+) 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'].

-- 2.47.3