From: Christophe Jaillet Date: Sat, 26 Mar 2022 06:17:34 +0000 (+0000) Subject: 'interpolate' is a keyword, not a user-defined string. X-Git-Tag: 2.4.54-rc1-candidate~127 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48f7b319bc4b8d0c9a612865480bc7e3a0fbb4e4;p=thirdparty%2Fapache%2Fhttpd.git 'interpolate' is a keyword, not a user-defined string. So it should not be in in and should be used instead of in explanations. While at it, fix some other style issues and missing links spotted here and there. (t1899205 in trunk) [skip ci] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1899206 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_proxy.xml b/docs/manual/mod/mod_proxy.xml index 5c616a8e5b3..47fa5d34a24 100644 --- a/docs/manual/mod/mod_proxy.xml +++ b/docs/manual/mod/mod_proxy.xml @@ -604,7 +604,7 @@ request context in 2.3.3 and later. -

When enabled, this option will pass the Host: line from the incoming +

When enabled, this option will pass the Host: line from the incoming request to the proxied host, instead of the hostname specified in the ProxyPass line.

@@ -1438,7 +1438,7 @@ ProxyPass "/" "balancer://hotcluster/" The optional noquery keyword (available in httpd 2.4.1 and later) prevents this.

-

The optional interpolate keyword, in combination with +

The optional interpolate keyword, in combination with ProxyPassInterpolateEnv, causes the ProxyPass to interpolate environment variables, using the syntax ${VARNAME}. Note that many of the standard CGI-derived @@ -1545,7 +1545,7 @@ ProxyPassMatch "^/(.*\.gif)$" "http://backend.example.com:8000/$1" Adjusts the URL in HTTP response headers sent from a reverse proxied server ProxyPassReverse [path] url -[interpolate] +[interpolate] server configvirtual host directory @@ -1599,8 +1599,8 @@ ProxyPassReverseCookiePath "/" "/mirror/foo/" because it doesn't depend on a corresponding ProxyPass directive.

-

The optional interpolate keyword, used together with - ProxyPassInterpolateEnv, enables interpolation +

The optional interpolate keyword, used together with + ProxyPassInterpolateEnv, enables interpolation of environment variables specified using the format ${VARNAME}. Note that interpolation is not supported within the scheme portion of a URL.

@@ -1626,7 +1626,7 @@ ProxyPassReverseCookiePath "/" "/mirror/foo/" Adjusts the Domain string in Set-Cookie headers from a reverse- proxied server ProxyPassReverseCookieDomain internal-domain -public-domain [interpolate] +public-domain [interpolate]
server configvirtual host directory @@ -1644,7 +1644,7 @@ string in Set-Cookie headers.

Adjusts the Path string in Set-Cookie headers from a reverse- proxied server ProxyPassReverseCookiePath internal-path -public-path [interpolate] +public-path [interpolate] server configvirtual host directory @@ -2053,7 +2053,7 @@ header for proxied requests Available in httpd 2.2.9 and later -

This directive, together with the interpolate argument to +

This directive, together with the interpolate argument to ProxyPass, ProxyPassReverse, ProxyPassReverseCookieDomain, and ProxyPassReverseCookiePath, @@ -2066,7 +2066,7 @@ header for proxied requests ProxyPassReverseCookiePath directives and causes them to substitute the value of an environment variable varname for the string ${varname} - in configuration directives if the interpolate option is set.

+ in configuration directives if the interpolate option is set.

The scheme/hostname/port portion of ProxyPass may contain variables, but only the ones available when the directive is parsed (for example, using Define).