Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 4243

Piwik not working behind SSL-Proxy (no replies)

$
0
0
Hello,

since a while I was using Piwik (last stable version) in a subdomain ( "stats.*" ) on shared web hosting without using encryption.

For the hosting company offering a SSL proxy (ssl-account.com) I decided to switch over to https in order to use an Android app as well in a secure way. So the URL is https : // ssl-account . com/stats.domain. tld/piwik/ (ignore spaces) now.

After reading some FAQ I added the following parameters to config.ini.php:

assume_secure_protocol = 1
proxy_client_headers[] = "HTTP_CF_CONNECTING_IP"
proxy_client_headers[] = "HTTP_CLIENT_IP"
proxy_client_headers[] = "HTTP_X_FORWARDED_FOR"
proxy_host_headers[] = "HTTP_X_FORWARDED_HOST"
reverse_proxy = 0
trusted_hosts[] = "stats.domain.tld"
trusted_hosts[] = "ssl-account.com"

But this doesn't work properly:

  • Visitors are not longer being tracked!
  • There are no graphics for header or favicon (wrong links, e.g.: https : // ssl-account . com/piwik/misc/user/logo-header.png [ignore spaces]).
  • Dashboard of all websites doesn't show any graphs.

Login without encryption is - of course - not longer working, I am not able to switch.

So, in fact, I am not able to use Piwik at the moment and could really need some help with this issue!

Thanks a lot for any hint!

Regards, Alex

Viewing all articles
Browse latest Browse all 4243

Trending Articles