Works perfect, thanks :)

On 25 Mai, 14:25, emanuele <[email protected]> wrote:
> Router::connect('/:alias/:controller/:action/*',
>         array(),
>         array(
>             'persist' => array('alias'),
>             ));
>
> On Tue, May 25, 2010 at 10:32 AM, Bennet Jeutter
> <[email protected]>wrote:
>
>
>
> > Hallo everyone,
>
> > I got a question about routing:
> > I'm developing a project, which is based on cities.
> > So i want to have URLs like 
> > domain.com/{cityname}/controller/action<http://domain.com/%7Bcityname%7D/controller/action>
> > .
> > Example: domain.com/frankfurt/people/view/3
>
> > The Controller and Actions should be for alle Cities the same, I would
> > catche the city in the AppController for use in the Controllers.
>
> > Is there any way to do this?
>
> > Best regards,
> >  Bennet Jeutter
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups
> > "CakePHP" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<cake-php%[email protected]>For
> >  more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en
>
> --
> Emanuele Gringeri
> Computer Engineer
> University of Pisa
> Be my mirror, my sword and shield
>
> Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with 
> their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group 
> athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to