Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matomo issues when installed in a subpath #12562

Open
defrox opened this issue Feb 15, 2018 · 5 comments
Open

Matomo issues when installed in a subpath #12562

defrox opened this issue Feb 15, 2018 · 5 comments
Labels
Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced.

Comments

@defrox
Copy link

defrox commented Feb 15, 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
Copy link
Member

sgiehl commented Feb 24, 2018

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
Copy link
Member

mattab commented Feb 26, 2018

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
Copy link

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

@Findus23
Copy link
Member

See also #12623

@Findus23 Findus23 added the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label May 24, 2020
@bennesp
Copy link

bennesp commented Nov 25, 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced.
Projects
None yet
Development

No branches or pull requests

7 participants