Lighttpd Rewrites & Blank page

Posted by Stathis on Server Fault See other posts from Server Fault or by Stathis
Published on 2011-01-07T15:20:48Z Indexed on 2011/01/07 15:55 UTC
Read the original article Hit count: 136

Filed under:
|

Hello, I have configured some lighttpd rewrites, of which one does not work. This is the line that does not work as it should and causes a white (blank) page to be thrown:

url.rewrite-once = (    
...
"^/search/([^\/]+)*/([^\/]+)*/([0-9]+)$" => "search.php?t=$1&k=$2&p=$3",
...
);

Also note that it is the only one with 3 parameters, all the rest in the section have 0-2. I found this error in the lighttpd error.log:

2011-01-07 17:13:09: (mod_rewrite.c.374) execution error while matching:  -8

Can someone help? Thanks.

© Server Fault or respective owner

Related posts about lighttpd

Related posts about rewrite