lighttpd forum migration > RewriteRule -> url.rewrite-once

Posted by D. (Guest)
on 09.05.2008 07:14
Hello all,

I use this .htaccess file:
RewriteEngine on
RewriteRule ^([^/]+)(/([^:]+):([^/]+))?/?$ 
index.php?pg=$1&$3=$4&%{QUERY_STRING} [L]

But my lighttpd.conf:
$HTTP["host"] =~ "(www\.)?domain\.tld" {
        server.document-root = "/var/www/localhost/htdocs/far/scripts/"
        url.rewrite-once = ( "^([^/]+)(/([^:]+):([^/]+))?/(.*)" => 
"index.php?pg=$1&$3=$4$5")
}
don't working.

Please help me!

P.S. Please excuse my bad english!