Jump to content

Questions on ProxyPass and ProxyPassReverse using a real http proxy


jason2009

Recommended Posts

 

Hi Apache experts. I'm wondering if anyone can help with the following about the ProxyPass directive.

 

I have an application which requires the following configuration with Apache in a proxy.conf file. (Say this following configuration is on an apache instance on HostA)

    ProxyPass / https://foo.baz:9999/abc/abc/

    ProxyPassReverse https://foo.baz:9999/abc/abc/ /

 

This works fine as follows:

ClientA --https--> HostA --https--> foo.baz

 

The problem is now that I need this application to work in an environment where "HostA" cannot directly access foo.baz over http/https but instead HostA requires a proxy to contact foo.baz. (We'll call this second proxy HostB)

Is there some apache directive to configure HostA to talk with foo.baz via an other proxy HostB?

Will the ProxyRemote directive help with this?

 

So in this new scenario I would want

ClientA --https--> HostA (still running ProxyPass/ProxyPassReverse as above) --https--> HostB --https--> foo.baz

 

Thanks in advance for any advice.

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.