LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: A question of usages

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: A question of usages
From: Horms <horms@xxxxxxxxxxxx>
Date: Thu, 5 Feb 2004 10:20:14 +0900
On Wed, Feb 04, 2004 at 03:06:25PM -0600, Randy Paries wrote:
> hello
>  
> >From what i can tell reading the doc , i am not sure i can do what i want
>  
> here is what i am trying to do
>  
> i want the LVS send urls to a particular server based on the URL not by
> round robin dns stuff and that type of load balancing.
>  
> I am new to this so my terms are probably incorrect
>  
> here is what i need to do
>  
> URL  <http://www.mydomain.com/a> http://www.mydomain.com/a..... goes to
> server www1.mydomain.com/a...
> URL  <http://www.mydomain.com/b> http://www.mydomain.com/b..... goes to
> server www2.mydomain.com/b...
>  
> and so on.
>  
> so i was thinking of all the Requests would come to the LVS and it would
> send them to the correct place.
>  
> Is this possible

No. 

LVS operates at layer 4, it only knows about IP addresses an ports.
What you are after is something that operates at layer 7, such as a
reverse proxy. Squid can probably do this. I am not sure what else.

-- 
Horms
<Prev in Thread] Current Thread [Next in Thread>