On 2/8/2011 1:07 AM, Alvaro Lopez Ortega wrote:
Try this:

- Add a "Regular Expression" rule with the following match:  /(.+)\.html
- Configure a "Redirection" handler in that rule
- Add a new RegEx, and set the Substitution to:  /$1 . Since the regular expression is 
inherited from the rule match, there is no need to write anything in the "Regular 
Expression" field of the dialog.

.. and that's should be enough. It's fairly straight forward, isn't it?

Thanks - that helped quite a bit! I'm quite a novice at regexes. In my case, since the page names have changed, I need to do more than just drop the .htm suffix, so I need a rule for each page (though I can and do use the /$1 as a final "default" rule to catch those few pages it applies to).

Can the GUI be updated to allow regex rule re-ordering? At the moment it's rather cumbersome to adjust a list of rules when order of execution is important.
--
Daniel
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to