You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by sa...@women-at-work.org on 2005/03/01 15:47:11 UTC

Re: Friendly URLs and Tapestry 3.1.

Is it also possible to have alias links to the same destination?

I am thinking of directory structures that support several languages so that
also the urls are translated.....

> Thought you may find this interesting:
> http://tuckey.org/urlrewrite/
> 
> 
> On Sat, 26 Feb 2005 14:34:26 -0500, Kevin Menard
> <ni...@negativetwenty.net> wrote:
> > On Feb 26, 2005, at 12:47 PM, Ramin wrote:
> > 
> > > Couldn't you acheive the same thing using mod_rewrite on Apache? I
> > > think rewrite rules might be easier to maintain and work faster than
> > > having a servlet handle the url translation. I'm new to Tapestry, so
> > > I'm sure if this is possible, but from the examples on your website,
> > > you can definitely do the same thing with RewriteRule
> > 
> > I don't know if this was directed at my site or Paul's, but I'll
> > address it for mine.  Sure, rewrite rules could be used.  To be honest,
> > I've always had problems getting rewrite rules to work how I want
> > without more effort than I care for.  Furthermore, it binds you to
> > using apache.  For my public copy of Bookmarker, I do use apache +
> > mod_jk2, but the "standalone" version runs in an embedded jetty
> > instance.  So, it's nice to have the friendly URLs in that case as
> > well.  Now, there are yet even more options for this . . . skim the
> > lists and maybe filter for "Erik Hatcher" :-)
> > 
> > But as far as speed is concerned, it should be no slower than native
> > Tapestry, although I haven't benchmarked this.  There is no more
> > translation going on than Tapestry out of the box though, it's just a
> > different way of rendering links.  I used the patched friendly URL jars
> > because they require almost no effort to use, it's a cross-container
> > solution, and I get nice URLs out of it.  But to each his own.  When
> > Tapestry 3.1 comes out, it's all a moot issue anyway, but in the
> > meanwhile, I'm very thankful for the work Paul did in getting this to
> > work.
> > 
> > --
> > Kevin
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > 
> > 
> 
> 
> -- 
> - Ramin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org