Apache ProxyRemote with proxy authorization (via / HTTPS connection)

It is easy to use the "RequestHeader append Proxy-Authorization" to create a direct proxy without authentication, which refuses password protection. But this header is not added to CONNECT requests ... I know the patch suggested at https://issues.apache.org/bugzilla/show_bug.cgi?id=37355 , but it does not seem to be integrated into the trunk / release branch

Is there any other way to configure remote proxy authorization credentials (and can be used in CONNECT transactions)?

+6
source share
1 answer

I put the patch from the 2005 mailing list message into the apache 2.2.X branch (latest version 2.2) and successfully tested it. Application: ProxyRemote * http: // [user]: [pswd] @host: port / (also replace the RequestHeader need)

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

0
source

Source: https://habr.com/ru/post/902090/


All Articles