Re: Friendly URLs?

2009-12-17 Thread XANi
Dnia 2009-12-17, czw o godzinie 07:52 +0100, Willy Tarreau pisze: > On Wed, Dec 16, 2009 at 01:56:06PM +0100, XANi wrote: > > > > > Is there a way to do this using rewrite rules? > > > > > > This specific one above cannot because you have to take one part > > > from the Host header and inject it

Re: Friendly URLs?

2009-12-16 Thread Willy Tarreau
On Wed, Dec 16, 2009 at 01:56:06PM +0100, XANi wrote: > > > Is there a way to do this using rewrite rules? > > > > This specific one above cannot because you have to take one part > > from the Host header and inject it into the request line. But those > > which only move components within the sam

Re: Friendly URLs?

2009-12-16 Thread XANi
Dnia 2009-12-16, śro o godzinie 00:15 +0100, Willy Tarreau pisze: > Hi, > > On Tue, Dec 15, 2009 at 05:47:49PM -0500, Ken Roe wrote: > > We are trying to make application URLs friendly using rewrite rules. > > The goal is to eliminate the context path of the web application from > > the url. > >

Re: Friendly URLs?

2009-12-15 Thread Willy Tarreau
Hi, On Tue, Dec 15, 2009 at 05:47:49PM -0500, Ken Roe wrote: > We are trying to make application URLs friendly using rewrite rules. > The goal is to eliminate the context path of the web application from > the url. > > > > Example: > > The URL http://app.company.com should rewrite to > http:

Friendly URLs?

2009-12-15 Thread Ken Roe
We are trying to make application URLs friendly using rewrite rules. The goal is to eliminate the context path of the web application from the url. Example: The URL http://app.company.com should rewrite to http://backend:8080/app. Is there a way to do this using rewrite rules? Thanks