LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: modify the url at LVS side

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: modify the url at LVS side
From: Jason Martin <jhmartin@xxxxxxxx>
Date: Wed, 5 Apr 2006 08:32:10 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Apr 05, 2006 at 08:23:20AM -0700, Raicovici Flavius wrote:
> Is it possible to modify the original url that comes
> from  an user, at LVS side and forward the modifyed
> one to the real server?
> E.g
> - user request -> LVS :
> http://www.mydomain.com/mypage.html?123
> - request forwarded by LVS to real server:
> http://www.mydomain.com/mypage.html?var=123
> 
> It looks a dummy question, but I really need to know
> if it's possible.
Not with LVS, as it is a packet-level tool (layer 4) tool. You
need something at layer 7 that understands the concept of a URL
and can do the rewriting you are looking for. That would be some
sort of web proxy probably.
- -Jason Martin
- -- 
This message is PGP/MIME signed.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: --no-verbose

iD8DBQFEM+L6eDShAkRw0YoRAghIAJ4jP+aQtJkuHHKzG7vrsaZc7MSmFgCaAuvB
JnlfWXcGjg3HVKGSwgwm3ng=
=na0c
-----END PGP SIGNATURE-----

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