简体   繁体   中英

Apache ProxyRemote with Proxy-Authorization (over connect/HTTPS)

It's easy to use the "RequestHeader append Proxy-Authorization" to create a forward proxy with no authentication that bounce over a password protected one. But this header is not append to CONNECT requests... I'm aware of the patch suggested at https://issues.apache.org/bugzilla/show_bug.cgi?id=37355 , but it does not seems to be integrated in the trunk/release branch

Is there another way to configure the remote proxy authorization credentials (and could be used in CONNECT transactions) ?

I ported the patch from the 2005 mailing list message to the apache 2.2.X branch (last 2.2) and successfully test it. Usage : ProxyRemote * http://[user]:[pswd]@host:port/ (replace also the need of RequestHeader)

https://gist.github.com/131/2a5ffedc2acf61061cf39e966def2ff2

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM