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
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡[email protected]
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2005-11-05