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

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.