Jump to content

Problem getting multiple reverse proxies working on Apache 1.3...


MrFine

Recommended Posts

I'm trying to set up a new VPS to have a few inbound domains that I want to show pages from another of my sites.  I have one of the domains correctly proxying, but when I add a new VirtualHost with a different ServerPath and a different location to reverse proxy, I get the pages from the site I'm proxying for in the first VirtualHost.  Example:

 

LoadMopdule(s)... proxy_module, proxy_http_module, headers_module, proxy_html_module..

 

<VirtualHost *>

  ServerName www.abc.com

  ProxyRequests off

  ProxyPass / http://www.destabc.com

  ProxyPassReverse http://www.abcdest.com /

</VirtualHost>

 

<VirtualHost *>

  ServerName www.def.com

  ProxyRequests off

  ProxyPass / http://www.destdef.com

  ProxyPassReverse http://www.abcdef.com /

</VirtualHost>

 

www.abc.com works great... proxies www.abcdest.com

www.def.com doesn't work -- I get pages from www.abcdest.com insteadof www.defdest.com

 

Any ideas why ?

 

Thanks,

 

Russell

Link to comment
Share on other sites

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.