
alvaro at octality
Nov 20, 2009, 3:49 AM
Post #4 of 6
(415 views)
Permalink
|
On 20/11/2009, at 12:49, creadoo - Sven Rißmann wrote: > Thanks for reply. > I'm sorry, but the effect ist the same. No changes. :( I'd recommend you to check the rules priority (order) then. Remember; rules are evaluated from top to bottom. Once a 'Final' rule is matched, the evaluation stops. Otherwise, the behavior is accumulated and the evaluation of rules continues. Check this example: http://www.vimeo.com/7683565 > ----- Original Message ----- > From: "Alvaro Lopez Ortega" <alvaro [at] octality> > To: "creadoo - Sven Rißmann" <s.rissmann [at] creadoo> > Cc: <cherokee [at] lists> > Sent: Friday, November 20, 2009 10:53 AM > Subject: Re: [Cherokee] little problem with rewrite > > On 20/11/2009, at 10:46, creadoo - Sven Rißmann wrote: > >> i want to display the Profiles of my forums in a way like: >> http://www.domain.com/forum/profile/username/ >> Here is what i've tried: >> >> Regex: >> ^/forum/profile/([^/]+)/(?:\?(.*))?$ >> Substitution: >> forum/index.php?pretty;action=profile;u=$1;$2 > > I'd use something like.. > > Regex: ^/forum/profile/(.+?)/ > Substitution: /forum/index.php?pretty;action=profile;u=$1 > _______________________________________________ -- Octality http://www.octality.com/ _______________________________________________ Cherokee mailing list Cherokee [at] lists http://lists.octality.com/listinfo/cherokee
|