php api重写不工作XAMPP转到仪表板

I'm running XAMPP and am trying to catch all requests to my Directory

http://localhost/api works and serves index.php in the api-folder

I don't know if the rewrite is working at all since all requests to http://localhost/api/whatever ends up at http://localhost/dashboard

httpd.conf

Alias /api "F:/src/api"

<Directory "F:/src/api">
    Options Indexes FollowSymLinks Includes ExecCGI
    AllowOverride All
    Order allow,deny
    Allow from all
    Require all granted
</Directory>

.htaccess (in my F:\src\api folder)

As far as I know this should redirect all requests to index.php but it doesn't

Options -MultiViews

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L,NC,QSA]
</IfModule>

How can I get my rewrite to work?