From b9780785a57131a50621de876d71b6ac34b1b792 Mon Sep 17 00:00:00 2001
From: Yann Ylavic <Location>
) will be matched using the
same mapping.
mapping=encoded
prevents the %-decoding of the uri-path so
- that one can match for instance /some%2furi%2fpath%2fwith%2fslash
in a
- ProxyPass
or in a <Location>
context.
mapping=servlet
refers to the normalization defined by the Servlet
specification, which is for instance applied by Apache Tomcat for servlet containers
(notably the path parameters are ignored for the mapping). An uri-path like
- /some;foo/path
is then mapped as /some/path
hence matches:
<Location /some/path>
or:
ProxyPass "/some/path" "https://tomcat.example.com/some/path"
regardless of the requested path parameters.
-It is recommended to use the same mapping on the Apache httpd side than the one
- used on the backend side. For instance when configuring authorizations in
- <Location>
blocks for paths that are mapped by mapping=servlet
setting to prevent path parameters and alike from
- interfering with the authorizations that are to be enforced in by the Apache httpd.
/some;foo/path
is then mapped as /some/path
hence matches any
+ of the below regardless of the requested path parameters:
+ It is recommended to use the same mapping on the Apache httpd side than the one
+ used on the backend side. For instance when configuring authorizations in
+ <Location>
blocks for paths that are mapped by mapping=servlet
setting to prevent path parameters and alike from
+ interfering with the authorizations that are to be enforced in by the Apache httpd.