Need help converting apache.htaccess code to lighttpd url_rewrite code
I have this custom writing CMS built on XAMPP. I'm trying to test the same on lighttpd to compare so called performance improvements ... but I'm stuck with rewrite rules. I am using the default WordPress rewrite rules in my .htaccess which passes all urls to my script as long as there are no files or directories similar to 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 help me translate the same to lighttpd format? I could (partially) figure out what the last line is going through the light docs ... i.e.
url.rewrite-once = ( ".*" => "index.php" )
But that certainly won't be enough ... My whole CMS does this, giving me 404's.
Thank you, Microscopic ^ earthling
+1
a source to share