<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteCond %{REQUEST_URI} system/api*
  RewriteRule ^(.*)$ api.php?op=$1 [L,QSA]
</IfModule>