Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Bugs

[Bug 37355] Allow to specify Proxy-Authorization in ProxyRemote

 

 

Apache bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla at apache

Apr 16, 2012, 1:47 AM

Post #1 of 1 (179 views)
Permalink
[Bug 37355] Allow to specify Proxy-Authorization in ProxyRemote

https://issues.apache.org/bugzilla/show_bug.cgi?id=37355

--- Comment #5 from YosheE <yoshee [at] meta-lan> 2012-04-16 08:47:59 UTC ---

Hello Fran├žois,

I have rebuilt apache 2.2 with your patch, it works well for http request so
useful, thank you. But my remote proxy sends me a 407 error (like if
authentication was not provided) for the https requests. Here is my config for
https vhost :

NameVirtualHost *:443
<VirtualHost *:443>
ServerName my.server.name
SSLEngine on
SSLProxyEngine on
SSLVerifyClient none
SSLCertificateFile "/my/cert/file.crt"
SSLCertificateKeyFile "/my/key/file.key"
ProxyRemote https https://user:pass [at] proxyhos:80
ProxyPass / https://foreign.https.server/
ProxyPassReverse / https://foreign.https.server/
</VirtualHost>

I can see in apache logs :
[error] send_http_connect: the forward proxy returned code is '407'

and apache sends to the end browser a 503 error code.

Is there something wrong in my config or do you have an idea regarding the
patch ?

Thank you very much,
Julien

(In reply to comment #4)
> Created attachment 27977 [details]
> Patched ported to 2.2.x
>
> This is the same thing, 5 years later.
> This patch based on apache-httpd version 2.2.21. It adds a new feature for the
> ProxyRemote config item. It is now possible to set an optional
> <proxy-user:proxy-passwd@> prefix. This works with http and https backends.
> ProxyRemote <protocol://backend-server[:port]>
> <protocol://[<proxy-user>:<proxy-passwd>@]<proxy-server[:port]>
> Example:
> ProxyRemote https://foo.org http://user:passwd [at] bar:8080
>
> I could only test this patch with a Squid Proxy.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd

Apache bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.