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


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 https://www.my_domain.com/piwik
SetOutputFilter  proxy-html
RequestHeader    unset  Accept-Encoding

This is parts of my config.ini.php file

assume_secure_protocol = 1
force_ssl = 1
trusted_hosts[] = ""

; 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?

SSL proxy redirects to root at login

Dear courtens,

we are experiencing the same Problem in this setup. Did you find any solution so far? Thanks for any suggestions!



This bug is still active.

Workaround: The only way to log in is to return to the log in page (after log in) to not be redirected to the root folder. I hope this helps.

Here to bug report