FAQ
url such as:

/book/somebook1/en/
/book/somebook1/zh/
/book/somebook2/de/

all relate to C::Book's view action using Regex attribute, but everytime, we write the exactly Regex and forward to
another action to parse snippets to get the book's keyname and language code for later using.

I hope there is a Plugn to work like Apache's mod_rewrite, to make some url rewrite.

even some domains like

http://yourname.chunzi.org/action/here

would turned tobe

http://www.chunzi.org/~yourname/action/here

and then some plugin rewrite the url above to orignal url /action/here, and dump the "yourname" to user object into something like $c->stash->{'user'} ¡£

or maybe the feature could be support in core Catalyst. any ideas?





¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Chunzi
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡chunzi@perlchina.org
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2005-11-05

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedNov 5, '05 at 7:56a
activeNov 5, '05 at 2:06p
posts2
users2
websitecatalystframework.org
irc#catalyst

2 users in discussion

Chunzi: 1 post Zbigniew Lukasiak: 1 post

People

Translate

site design / logo © 2022 Grokbase