You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2026/05/03 20:27:43 UTC

[Bug 62477] ProxyPassInterpolateEnv causes config syntax failures at startup

https://bz.apache.org/bugzilla/show_bug.cgi?id=62477

Rich Bowen <rb...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Rich Bowen <rb...@apache.org> ---
The documentation has already been updated to clarify this
limitation. The ProxyPass docs now state:

  "interpolation is supported within the scheme/hostname/port
  portion of a URL only for variables that are available when
  the directive is parsed (like Define). Dynamic determination
  of those fields can be accomplished with mod_rewrite."

This accurately describes the behavior. When a runtime
variable (e.g. from SetEnvIf) is used in the scheme, host,
or port, httpd will log AH00111 ("Config variable ${X} is
not defined") followed by AH00526 ("Syntax error") with
"Unable to parse URL" from mod_proxy, and fail to start.

-- 
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