lighttpd forum migration > once more mod_rewrite

Posted by om (Guest)
on 22.01.2008 15:44
good day.

my htaccess

RewriteEngine On

RewriteCond %{REQUEST_URI} ^(.*).html
RewriteRule ^(.*)$ /pre\-made/page.php/ [L]

RewriteCond $1 
!^(index\.php|page\.php|images|(.*)\.js|(.*)\.css|robots\.txt|(.*)\.html|(.*)\.png|(.*)\.jpg|js|(.*)\.gif)
RewriteRule ^(.*)$ /pre\-made/index.php/ [L]

all i need is to find query with .html and start /pre-made/page.php 
then.
in other cases, during surfing the folder tree - /pre-made/index.php 
should work.
but i can't figure out how to translate this to lighttpd.

can anyone help please.

thanks.