FAQ
Hi,

Look at the "[Catalyst] Branding - or path prefix" discussion thread
on this list:
http://lists.rawmode.org/pipermail/catalyst/2005-August/thread.html#1078
and
http://lists.rawmode.org/pipermail/catalyst/2005-August/thread.html#1087

-- Zbyszek
On 11/5/05, Chunzi wrote:

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

_______________________________________________
Catalyst mailing list
Catalyst@lists.rawmode.org
http://lists.rawmode.org/mailman/listinfo/catalyst

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 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