lighttpd rewrite

Is it possible to convert the following from apache rewrite to lighttpd ?

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?%{QUERY_STRING}&resource=$1 [L]

Thanks

 

 

 

 

Top