Virtual host for kirby in WSL

On my Windows PC i use WSL.
I have setup the default host.
I have setup one virtual host. Here i run a forum with xenforo. I can call it with localhost.
On port 10000 i have webmin running, called with localhost:10000

Everything fine so far.

When i change the document-root from /var/www/forum to /var/www/kirby i can call the first page of my kirby-demopage with localhost, but calling localhost/page fails.

make site links work

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php [L]

This should translate /page to something like index.php?page?

From here i have no idea what to do no to make my kirby running on localhost.

Just to repeat it:

On my production server at my hoster i can upload my forum to forum*.com and my kirby to kirby*.com;
both are running.

A copy of my forum runs in wsl at forum*.local.
But the copy of kirby*.local doesnt work. I can see the first page, but no panel, no pages.
All files are rsynced.

So there is a differende between my internet server and my wsl-server.
I guess that the rewrite in htaccess is not working here.

Next step is to check if rewrite is runing for my wsl.

Solved it with
sudo a2enmod rewrite
and restart apache2.

Puuuh …