Jump to content

Questions on ProxyPass and ProxyPassReverse using a real http proxy


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.

 

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.