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

How would I run archive.php as a cron using 127.0.0.1 / localhost for the connection?

$
0
0
Is there something I can adjust in the archive.php file that would specify that it should use 127.0.0.1 for the connection instead of the server's public IP address? I have most of my Piwik installation secured using htaccess, with only localhost allowed but I am seeing the following error log entries:

2013/08/18 17:35:04 [error] 17374#0: *283735 no user/password was provided for basic authentication, client: xxx.xxx.xxx.xxx, server: domain.com, request: "GET /pw/index.php?module=API&method=API.getDefaultMetricTranslations&format=or$

The client IP address (xxx.xxx.xxx.xxx) is listed as my external IP. I know I could just add that IP address into the whitelist rule, but I would prefer it to stay localhost.

I would be very appreciative of any assistance.

Thanks!

Viewing all articles
Browse latest Browse all 13117

Trending Articles