2011/10/31 Jędrzej Nowak <[email protected]>

> To rewrite all *.htm to *.html just use:
>
> ^/(.*)\.htm$ => /$1.html
>

He's not doing redirects that can be easily merged into one regular
expression:

 /home.htm -> /index.html
> /about_us.htm -> about.html


Hence the question if there's a way to just specify a 'from' and 'to'
field, without having to mess around with regexes at all.

OP, I don't have a Cherokee-admin available to me at the moment, but if
it's not in the list of ways to do redirects, then there is no simpler
method for redirects.
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to