User Invite link leads to 404 page

Dear users,

I installed matomo on my webserver and the tracking works fine.
However when I try to invite a user via email they get a link like this:

https://www.mydomain.tld/matomo/?module=Login&action=acceptInvitation&token=b0d5212563331b4cac98b92381fafa22

This link leads to a 404 page.

When I manually insert “index.php” in the link it works as expected:

https://www.mydomain.tld/matomo/index.php?module=Login&action=acceptInvitation&token=b0d5212563331b4cac98b92381fafa22

Is there some configuration I missed or something I misconfigured?

Thanks for your help.

Hi @ff-matomo
I think this is a misconfiguration of Apache/IIS/Any-other-type-of-server.
You have to set that by default, the page is index.php (by default, some servers are configured to use index.htm as default…)