Alternative to the suggestion below (where it listens to all IP's), in case
it's ssl, and you don't want it to listen to all, you can create separate
virtualhost entries for the VIP and RIP with identical configs, and it will
work just fine (I've tested this with multiple ssl's on one server)
Michael S. Moody
Sr. Systems Engineer
Global Systems Consulting
From: jackbillow [mailto:jackbillow@xxxxxxxxx]
Sent: Wednesday, October 29, 2008 8:24 PM
Subject: [lvs-users] apache is not listening on real-ip and add ip alias on lo.
hi Sebastien Termeau
apache is not listening on real-ip. you can try it.
you can make apache is listening all ip,like this:
tcp 0 0 0.0.0.0:80 <http://192.168.1.149/> 0.0.0.0:*
and add ip alias on lo, as follow:
lo:0 Link encap:Ethernet
inet addr:192.168.1.61 Bcast:192.168.1.255 Mask:255.255.255.0
if you do below two thing, it will work fine.