These may work or not for your setup, a couple of things to note when writing rewrite rules:
- Start your rule set with areas you know need to be excluded, not rewritten, and write rules that result in => "$0"
- Work your way from specific rules to more generic and all encompassing rules
- Attempt to break the rules down into as few rules as possible, realize rule interpretation causes load on the http server
- Use rewrite-once so that Lighty will stop processing rules when it's found a match
url.rewrite-once = ( "^/(wp-.+).*/?" => "$0", "^/(sitemap.xml)" => "$0", "^/(xmlrpc.php)" => "$0", "^/keyword/([A-Za-z_0-9\-]+)/?$" => "/index.php?keyword=$1", "^/.*?(\?.*)?$" => "/index.php$1" )