More htaccess / rewrite woes

And changing it to this gives you errors?

http://site.com {
    root /Users/charles/Sites/site
    rewrite {
        r (.*)
        to {path} {path}/ index.php?{uri}
    }
    fastcgi /index.php 127.0.0.1:9000 {
        ext .php .html
    }
    gzip
    log /Users/charles/Sites/site/access.log
    errors /Users/charles/Sites/site/errors.log
}