Hi all,
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?
This is definitly a problem with the webserver itself and not with Matomo. For some unknown reason it thinks it needs to add / behind the index.php until redirect limit breaks it. I have no clue of the webserver, but if it follows common knowledge I might be able to spot the problem if you provide the config.