httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Ilardo <alessandro.ila...@my-sandro.net>
Subject [users@httpd] reverse proxy - transfer whole domain
Date Fri, 24 Nov 2006 16:36:15 GMT
Hello there,

I'm trying to set up Apache 2 as reverse proxy.
The scenario should be:

   * a public Apache2 on server_1 which receives all request of
     www.domainX.cxm and works as reverse proxy
   * a private Apache2 which actually serves www.domainX.cxm contents

All the examples on the web show a configuration like:
 /foo  http://server_2:8080/foo

As on my server_1 I configured several domains, how can I make the whole 
traffic for www.domainX.cxm be transfered to server_2 ??
I  tried these conf. but they didn't work and  server_1 is still serving 
all the content  for www.domainX.cxm

   * ProxyPass domainX.cxm http://server_2/domainX-content|

   * ProxyPassReverse domainX.cxm http://server_2/domainX-content|

or

   * ProxyPass http://www.domainX.cxm http://server_2/domainX-content|

   * ProxyPassReverse http://www.domainX.cxm http://server_2/domainX-content|

Thanks in advance for you help and suggestions.
Alessandro I.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message