将Piwik HTTP请求重定向到不同的服务器

时间:2013-09-03 15:30:07

标签: php apache http matomo

我在一台服务器上运行Piwik,服务器A.我的所有网站都在不同的服务器上运行,服务器B.我不希望我的用户知道服务器A的地址(包括任何可以设置的cookie),但我希望它做所有的统计数据。我认为我必须将所有请求从服务器B重定向到服务器B,但我不知道如何。

1 个答案:

答案 0 :(得分:1)

## Piwik Proxy Hide URL
This script allows to track statistics using Piwik, without revealing the
Piwik Server URL. This is useful for users who track multiple websites
on the same Piwik server, but don't want to show the Piwik server URL in 
the source code of all tracked websites.

位于/ path / to / piwik / misc / proxy-hide-piwik-url /文件夹中。

应该做你想要的。