# API v3 — todo a index.php salvo ficheros reales.
#
# Requiere mod_rewrite (activo por defecto en XAMPP) y que el vhost o el
# httpd.conf tenga «AllowOverride All» para esta carpeta.

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]
