I’ve installed a new server just for our Matomo and it has:
Hiawatha web server (similar to NGINX but we like it better). It uses php-fpm to provide php support.
Server has ubuntu with php 7.2 and all modules installed.
I am trying to put the Matomo on the main site under /stats folder.
When I browse to the site I get the setup screen which indicates all extensions and stuff as green and correct.
When I hit next I reach the DB details which I fill out (and are correct) (URL is: /stats/index.php?action=databaseSetup&clientProtocol=https)
The issue happens when I hit “next”.
The site redirects to a url: /stats/index.php///////////////////?action=databaseSetup&clientProtocol=https
Which creates a “too many redirects” error.
Site isn’t behind a reverse proxy and I have tried with and without SSL both with the same result.
I spent hours trying to fix this but had no success so far.
Anyone has any idea how to fix this?
Are there any .htaccess or redirect rules needed for Matomo or the setup to work?
Any advice would be highly appreciated.