Test rewrite with /api/htaccess