lighttpd forum migration > trying to make a rewrite rule to work

Posted by Vag Ole
on 02.01.2008 05:42

I am trying to make this rule to work

^/images\.php/([a-z]{1})([^?]*)(\?)?(.*)$" => "images.php?$1=$2&$4

The url is images.php/$12345_xxxx.jpg => images.php?$=12345_xxxx.jpg

where $ is a variable passed to url from php script.

In debug log I can see that it just doesn't rewrite the url at all. What 
might be wrong? Thanks