Mailing List Archive

[Bug 37355] Allow to specify Proxy-Authorization in ProxyRemote
https://bz.apache.org/bugzilla/show_bug.cgi?id=37355

--- Comment #43 from philipp.aeschlimann@gmail.com <philipp.aeschlimann@gmail.com> ---
(In reply to rodowi2942 from comment #42)
> I have the need for this feature today, not in 2030. I don't want a custom
> patched Apache that will never get updated. Please, please backport this.

By setting the env variable Proxy-Chain-Auth, the authorization credentials are
forwarded to the next proxy. Additionally, you could set the proxy
authorization header yourself - that would usually be provided by the client -
with static/hard coded basic auth credentials for the next proxy:

# Do forward authorization credentials
SetEnv Proxy-Chain-Auth On
# Set static Basic Authentication credentials for the next proxy
RequestHeader set Proxy-Authorization "Basic dXNlcjpwYXNz"
# Proxy remote settings
ProxyRemote * http://proxy.internal:3128

With this configuration, you can authenticate at the remote proxy address with
username/password.

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