@defrox opened this Issue on February 15th 2018

I am experiencing issues after installing matomo in a subpath. I am running matomo 3.3.0 behind a reverse proxy and I can access the site and most of it works just fine except for some images, such as default and custom logos (not adding the subpath to the src url) and redirecting to root domain after successful login or authentication with apereo CAS SSO.
I open this issue as required in #7898

@sgiehl commented on February 24th 2018 Member

Could you explain your problems a bit more detailed?
Is "only" the subpath missing in the image urls? Or anything else?
Which OS are you running Matomo on? which PHP version are you using?

@mattab commented on February 26th 2018 Member

If Matomo is behind a reverse proxy and installed in a sub-path

please check this faq: https://matomo.org/faq/how-to-install/faq_98/ (second section)

@Meowzz95 commented on November 18th 2019

@mattab Followed that faq and still have the same issues as OP mentioned, eg: logo not loaded, generated script path wrong

@Findus23 commented on May 24th 2020 Member
@bennesp commented on November 25th 2022

I had the same issue of @defrox , and stripping the prefix path (with rewrite in nginx, or stripPrefix middleware with traefik) fixed both login and logo issues.

Just be sure to navigate to /yourSubPath/ with the trailing slash

Powered by GitHub Issue Mirror