Importing Apache Log Files

Hi, I’m trying to import apache2 log files into piwik, but when I try I get this:


$ python /var/www/piwik/misc/log-analytics/import_logs.py /absolute/path/access.log --url=localhost
Fatal error: Piwik returned an invalid response: <html><body><h1>It works!</h1>
<p>This is the default web page for this server.</p>
<p>The web server software is running but no content has been added, yet.</p>
</body></html>

When I check piwik, i still have no data.

Apparently Piwik does not run under localhost. Can you access Piwik using http://localhost in your browser?