problem apache proxy reverse

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



On Sat, 2006-04-15 at 11:39, joseph medina wrote:
> 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>

The 'ServerName' entry must match exactly what you
put as the hostname in the browser.   If you need more
(like with/without the full domain), add them in a
ServerAliases entry.  If you don't have an exact match
you get the first/default vhost.

-- 
  Les Mikesell
   lesmikesell@xxxxxxxxx



[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