hello:
i have centos 4.0 whits apache httpd-2.0.52-22.ent.centos4, this is configured like a reverse proxy, but i have a problem only the first site name on the httpd.conf work when i do a peticion from internet for all the rest servers only respond the firts.
<VirtualHost *>
ServerName dir_ip
ProxyPass / http://ejemplo1.test.com/
ProxyPassReverse / http://ejemplo1.test.com/
</VirtualHost>
<VirtualHost *>
ServerName dir_ip2
ProxyPass / http://ejemplo2.test.com/
ProxyPassReverse / http://ejemplo2.test.com/
</VirtualHost>
<VirtualHost *>
ServerName dir_ip3
ProxyPass / http://ejemplo3.test.com/
ProxyPassReverse / http://ejemplo3.test.com/
</VirtualHost>
DNS is fine becouse from internet all peticion coming to the apache server, but this dont forwarding the second petition.
I need one escenario like this
/---------\ /------------\
| Web | --------- | Router |
\---------/ \------------/
|
|
/-------------\
|Apache Server|
\-------------/
10.0.0.1
|
|
Server's
/------------------------------------------\
| | |
/----------\ /----------\ /----------\
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
\----------/ \----------/ \----------/
domain1.com domain2.com domain3.com
10.0.0.2 10.0.0.3 10.0.0.4