More robust Regex pattern (at least for me? Original did not work for me on cherokee 1.2.2)

This commit is contained in:
Johannes Becker 2012-02-07 09:49:49 +01:00
parent af403ad6c9
commit 05a0b5c8be

View file

@ -107,7 +107,7 @@ Now, go to the rules definition and add a "File Exists" rules, invert the rule w
Go to the tab "Handler", set a "Redirection" handler with the following parameters:
* Show: Internal
* Regular Expression: `^/(.*)\?*$`
* Regular Expression: `^/([^?]*)?.*$`
* Substitution: `index.php?__route__=/$1`
Click "Add".