Sub folder with apache reverse proxy not working

Hi,

I try to serve matomo on such address : localhost:8031/matomo using apache

My httpd.conf file :

ProxyPass /matomo http://localhost:8031/
ProxyPassReverse /matomo http://localhost:8031/
Header Set X-Forwarded-Uri /matomo

My config.ini.php file :

[General]
proxy_uri_header = 1

Result when I go to locahost:8031 is a blank page.
Indeed, it does not request matomo/index.php, but index.php alone.
image

Can you please tell me what I’m missing ?

Hi,

The If Matomo is behind a reverse proxy and installed in a sub-path subsection here should have the solution:

Thanks for your answer.
No it does not. I did exactly what is written on that part of the documentation.