On 20/06/2010, at 19:00, Rene A. wrote: > Could someone explain my step by step how to set it up? For a simple > example like: > > Redirect all /about -> index.php?r=about > Redirect /news/1/add -> index.php?r=news&id=1&action=add
There are two places where regular expressions are used: 1.- "Regular Expression" rule match. You can apply rules depending on whether or not a client request matches a regex. 2.- The Redirection Handler. Independently on the type of match of the rule, a redirection will be performed. So, you can configure any combination at your convenience: - Match: Directory /tmp, Handler Redirection, match+substitution - Match: RegEx whatever, Handler File (or something else) - Match: RegEx whatever, Handler Redirection, match+substitution - Match: RegEx whatever, Handler Redirection, substitution -- Octality http://www.octality.com/ _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
