I'm really stuck with creating an RegEx that excludes files from being rewritten.
I am using Cherokee as web server and want to turn links like http: //example.com/123 to http: //example.com/get.php?short=123.
My problem is that I want to create a switch for files and no files.
/([^.]+) => /get.php?short=$1
/([.]+) => /$1
I guess the second excludes the first somehow but I am unable to find out.
How to fix this or is there a better solution?
Paul