Multiple Bindings : 1 Site


I have a windows server running Windows 2008r2 IIS 7.5, hosting 3 URL’s within 1 website.
Site 1: , ,
I have enabled all of the Fields apart from Cookies for the IIS Logs.

I have PIWIK 2.11.1 installed on a Linux server and I am importing the IIS logs using the script that was supplied on installation.

Within PIWIK Websites Management I have created the SiteID : 1 and added 3 URL’s, and

I have archived the imported logs.
When I investigate the Visitor Log for the SiteID: 1, the urls all start with and there is no reference to any of the entries displaying or, although the IIS logs display entries for and

Is this a limitation of PIWIK or have I missed something in the installation process ?

Many thanks


An internal developer has managed to figure out the script and made a change.

From line 1468:

    # only prepend main url if it's a path
    #url = (main_url if path.startswith('/') else '') + path[:1024]

        url = 'http://' + + path
    except AttributeError:
        url = (main_url if path.startswith('/') else '') + path[:1024]

(Matthieu Aubry) #3

Hi there

thanks for the suggestion. can you create a bug report at: Issues · matomo-org/piwik · GitHub

and attach a small log file that will let us reproduce the issue, as well as the command used to reproduce the failed import? thanks