Only a little correction in regex
^(.*)/([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*)$ => /$5
and the most important part, a regular expression behavior with a _non
final rule_
Next stage, amazon balanced cherokee web instances in meneame.com style.
On Mon, Jan 16, 2012 at 20:47, jlan <[email protected]> wrote:
> I'm new here, so first thing Hi everyone.
>
> I'm moving a website from apache to cherokee, it's almost done, but there
> are some little thing still.
> All is already working perfectly so i'm trying to use the same rule that
> "takes away" the date part from old posts (
> ../2009/10/23/videocartelera-23-octubre-2009/) to work with a new title
> only permalink ( ../videocartelera-23-octubre-2009/ )
>
> In apache i was using something like:
> RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*)$
> http://estrenos-de-cine.labutaca.net/$4 [L,R=301]
>
> and in cherokee i'm trying first in the last behavior of the domain
> (Default one) that has last rule
> (wordpress one ^/(.*)$ => /index.php?$1)
> and i write before another internal regular expression like
> ^([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*)$ => /$4
>
> But it's not working.
> How can i solve this?
>
> Thanks
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee