Mailing List Archive

[Bug 66099] New: Error in the documentation for %{REQUEST_URI}
https://bz.apache.org/bugzilla/show_bug.cgi?id=66099

Bug ID: 66099
Summary: Error in the documentation for %{REQUEST_URI}
Product: Apache httpd-2
Version: 2.4-HEAD
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: mod_rewrite
Assignee: bugs@httpd.apache.org
Reporter: joerg.reinholz@fastix.org
Target Milestone: ---

The Doc says:

„REQUEST_URI“
“The path component of the requested URI, such as "/index.html". This notably
excludes the query string which is available as its own variable named
QUERY_STRING.“

https://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewritecond

This not correct.

I have tried and the %{QUERY_STRING} is a part of %{REQUEST_URI} (not only in
rewrite-rules, in PHP $_SERVER['QUERY_STRING'] show the same.

Per Definitionem is the query a part of the uri (URI). so shold only the
documentation be corrected.

Discussion (in german):

https://forum.selfhtml.org/self/2022/may/30/weiterleitung-von-domain-zu-domain/1799519#m1799519

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org