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" <[email protected]>
> To: "creadoo - Sven Rißmann" <[email protected]>
> Cc: <[email protected]>
> 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
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to