Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

Bug? Proxy redirect to root after login success - instead of staying within assigned sub-folder

$
0
0

@courtens wrote:

After login it goes to https://www.my_domain.com/ instead of staying in https://www.my_domain.com/piwik/

I discovered this strange behavior.

this is the apache config file

ProxyHTMLEnable  on
ProxyHTMLExtended on
ProxyHTMLURLMap  http://192.168.1.2:8081 https://www.my_domain.com/piwik
SetOutputFilter  proxy-html
RequestHeader    unset  Accept-Encoding

This is parts of my config.ini.php file

[General]
assume_secure_protocol = 1
force_ssl = 1
trusted_hosts[] = "192.168.1.2:8081"

; Uncomment line below if you use a standard proxy
;proxy_client_headers[] = HTTP_X_FORWARDED_FOR
proxy_host_headers[] = HTTP_X_FORWARDED_HOST

If I go back to the login page, and do a reload, piwik redirects correctly to the application just like I had a successful login. Is my setup wrong, or is this a bug?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles