• How To, Web Dev

    Create Additional AWStats WAMP Profiles

    Create Additional AWStats WAMP Profiles

    Posted on February 14th, 2010

    Written by CJ

    Tags

    Create Additional AWStats WAMP Profiles

    Great Deals @ Geeks.com!

    Schedule an automatic AWStats update on web site profiles in Windows WAMP (WampServer)

    This tutorial is split into five chronological sections:

    Pages

    Installing AWStats on WAMP

    Auto Update AWStats on WAMP

    Create Additional AWStats WAMP Profiles

    Install GEO IP on AWStats WAMP

    Auto Update GEO IP AWStats WAMP

    AWStats includes a Perl script you can optionally execute via cmd to automate the process of creating additional web site profiles. My tutorial here shows a shortcut to creating additional web site profiles, without the need to run the AWStats Perl script. This will save you time in the process.

    IMPORTANT
    I am using my site, webdevster.com as an example. You must substitute webdevster.com related entries with your Windows environment

    Configure more profiles (web sites) for AWStats to process.

    Step 1:

    Make a copy of the template awstats.awstats.webdev.conf.conf to awstats.2ndwebsite.conf

    Step 2:

    Edit awstats.2ndwebsite.conf and continue from above Step 8 to reproduce another one.

    Step 3:

    Process the first log by typing the following cmd.

    prompt>perl c:\wamp\bin\AWStats\wwwroot\cgi-bin\awstats.pl -update -config=2ndwebsite

    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    C:\Documents and Settings\CJ>perl C:\wamp\bin\AWStats\wwwroot\cgi-bin\awstats.pl -update -config=2ndwebsite
    Create/Update database for config “C:\wamp\bin\AWStats\wwwroot\cgi-bin/awstats.2ndwebsite.conf” by AWStats version 6.
    95 (build 1.943)
    From data in log file “\\192.168.100.100\www\log\2ndwebsite\http\access.log”…
    Phase 1 : First bypass old records, searching new record…
    Searching new records from beginning of log file…
    Phase 2 : Now process new records (Flush history on disk after 20000 hosts)…
    Jumped lines in file: 0
    Parsed lines in file: 889300
    Found 33222 dropped records,
    Found 8 corrupted records,
    Found 0 old records,
    Found 856070 new qualified records.

    C:\Documents and Settings\CJ>

     

    Step 4:

    Restart Apache.

    Any of the following will work:

    And point your browser to http://127.0.0.1/awstats_show/awstats.pl?config=2ndwebsite

    or

    Point your browser to http://localhost/awstats_show/awstats.pl?config=2ndwebsite

    or

    Point your browser to http://se.rv.er.ip/awstats_show/awstats.pl?config=2ndwebsite

    or

    Point browser to http://2ndwebsite.com/awstats_show/awstats.pl?config=2ndwebsite

    Continue to next page….SECTION 4. Install MaxMind GEOIP vs. geoipfree on AWStats WAMP (WampServer)

    Pages: 1 2 3 4 5

    This entry was posted on Sunday, February 14th, 2010 at 11:09 am and is filed under How To, Web Dev. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.
  • 0 Comments

    Take a look at some of the responses we've had to this article.

  • Post a Comment

    Let us know what you thought.

  • Name:

    Email:

    Website:

    Message: