Need help converting apache .htaccess code to lighttpd url_rewrite code
I have this custom written CMS built on XAMPP. I'm trying to test the same on lighttpd to benchmark the so-called performance gains... but am stuck at the rewrite rules. I use the default rewrite rules of WordPress in my .htaccess which hands all url parsing over to my script as long as there aren't any files or directories same as the URL structure. Here's the code:

    RewriteBase /somedir/

    # Let the Script handle all pretty URLs
    RewriteCond %{SCRIPT_FILENAME} !-d
    RewriteCond %{SCRIPT_FILENAME} !-f
    RewriteRule .* index.php [L]

Can anyone please help me translate the same to the lighttpd format? I could only (partially) figure out the last line myself going through the lighty docs ... i.e. 

    url.rewrite-once = ( ".*" => "index.php" )

But that of course won't suffice... All my CMS is doing is giving me 404's.

Thanks,
miCRoSCoPiC^eaRthLinG
Need help converting apache .htaccess code to lighttpd url_rewrite code
===

I have this custom written CMS built on XAMPP. I'm trying to test the same on lighttpd to benchmark the so-called performance gains... but am stuck at the rewrite rules. I use the default rewrite rules of WordPress in my .htaccess which hands all url parsing over to my script as long as there aren't any files or directories same as the URL structure. Here's the code:

    RewriteBase /somedir/

    # Let the Script handle all pretty URLs
    RewriteCond %{SCRIPT_FILENAME} !-d
    RewriteCond %{SCRIPT_FILENAME} !-f
    RewriteRule .* index.php [L]

Can anyone please help me translate the same to the lighttpd format? I could only (partially) figure out the last line myself going through the lighty docs ... i.e. 

    url.rewrite-once = ( ".*" => "index.php" )

But that of course won't suffice... All my CMS is doing is giving me 404's.

Thanks,
miCRoSCoPiC^eaRthLinG