Piwik and webserver in two separate computers


#1

Is this possible?

I installed Piwik in a computer which will be monitoring my webserver. I’ve copied and pasted the tracking code to the webserver pages. However, in the webserver logs, I can see a bad request:

::1 - - [17/Jul/2014:12:37:31 +0100] “GET /piwik/piwik.js HTTP/1.1” 200 - “http://localhost/signup.html” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36”

It’s trying to access piwik.js, which is obviously not on the webserver.

Should I copy piwik.js from the monitoring machine to the webserver? Or do I need to have Piwik in the same machine as my webserver?

Any help is appreciated.


#2

Any ideas where I could start tackling this? Or should I install Piwik in the same server as my webserver?

Cheers.


(Matthieu Aubry) #3

I can see a bad request:

::1 - - [17/Jul/2014:12:37:31 +0100] “GET /piwik/piwik.js HTTP/1.1” 200 - “http://localhost/signup.html” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36”

this is a good request (http status code 200)