LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: modify the url at LVS side

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: modify the url at LVS side
From: Raicovici Flavius <flavius_r@xxxxxxxxx>
Date: Wed, 5 Apr 2006 09:44:14 -0700 (PDT)
Thank you for your quick answers...and "lighting" my
mind :)

Rgds,
Flavius

--- Lloyd Brown <somewhere_or_other@xxxxxxx> wrote:

> It seems like you need something like mod_rewrite
> [1], assuming you're
> using apache as the webserver.  For other
> webservers, I have no idea.
> As has been said, though, this is certainly not an
> LVS (layer 4)
> problem, but a layer 7 problem.
> 
> Good Luck,
> 
> Lloyd Brown
> 
> [1] see
>
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html
> for
> official documentation
> 
> Jason Martin wrote:
> > 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
> _______________________________________________
> LinuxVirtualServer.org mailing list -
> lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to
> lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to
> http://www.in-addr.de/mailman/listinfo/lvs-users
> 
> _______________________________________________
> LinuxVirtualServer.org mailing list -
> lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to
> lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to
> http://www.in-addr.de/mailman/listinfo/lvs-users
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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