Why doesn't this regex work?
lil' finger exercise for y'all?
The rewrite rule for openphoto to have nice urls seems to be pretty easy (as shown in the installation guide):
^/(.*)\?*$=>
index.php?__route__=/$1
the idea is that if I have the url myphotosite.tld/foo/bar?wut=1 it should internally redirect to index.php?__route__=/foo/bar (and NOT __route__=/foo/bar?wut=1).
The problem is: The above regex gives me the latter (i.e. WITH the part after the question mark). I tried to tweak the regex to the following expression:
^/([^?]*)\?*$to make sure the search pattern would NOT include the ?. This, however, results in a 500 error if there IS a question mark (and normal behavior when there is none, but then the other pattern obviously also works...)
Any ideas what I'm doing wrong?






Cartoon Clouds
Mountains
Sunrise
Clouds
Green Clouds
None
















Help