简体   繁体   English

具有代理授权的Apache ProxyRemote(通过连接/ HTTPS)

[英]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. 使用“RequestHeader附加代理授权”可以很容易地创建一个没有通过密码保护的身份验证的转发代理。 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 但是这个标题没有附加到CONNECT请求......我知道https://issues.apache.org/bugzilla/show_bug.cgi?id=37355上建议的补丁,但它似乎没有集成在主干/发布分支

Is there another way to configure the remote proxy authorization credentials (and could be used in CONNECT transactions) ? 是否有另一种方法来配置远程代理授权凭证(并且可以在CONNECT事务中使用)?

I ported the patch from the 2005 mailing list message to the apache 2.2.X branch (last 2.2) and successfully test it. 我将2005年邮件列表消息中的补丁移植到apache 2.2.X分支(最后2.2版)并成功测试它。 Usage : ProxyRemote * http://[user]:[pswd]@host:port/ (replace also the need of RequestHeader) 用法:ProxyRemote * http:// [user]:[pswd] @host:port / (替换还需要RequestHeader)

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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