.htaccess 326 B

12345678910111213141516
  1. Options +FollowSymlinks
  2. RewriteEngine On
  3. RewriteRule ^api/(.*)$ action.php?action=api&command=$1 [QSA]
  4. #if requested resource isn't a file
  5. # and isn't a directory
  6. # then serve local error script
  7. RewriteCond %{REQUEST_FILENAME} !-f
  8. RewriteCond %{REQUEST_FILENAME} !-d
  9. RewriteRule .* action.php?action=rewrite [L]