problem apache proxy reverse

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


		
---------------------------------

LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y m?viles desde 1 c?ntimo por minuto.
http://es.voice.yahoo.com
		
---------------------------------

LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y m?viles desde 1 c?ntimo por minuto.
http://es.voice.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20060415/1c50a5b4/attachment.htm

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux