SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Evangelist artcoder's Avatar
    Join Date
    Aug 2005
    Location
    Planet Earth
    Posts
    599
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to put awstats online

    I want to put all my awstats for 2009 so that the reports are available online via the web (in a password-protected directory). That way I don't have to log into cpanel to look at it. And then I can give the URL to someone else who is interested in seeing the awstats. Is that possible?

  2. #2
    Non-Member thewebhostingdir's Avatar
    Join Date
    Oct 2005
    Posts
    703
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can use directly the awstats URL in you web site. However, it will ask for the cPanel username and password to login when connecting to Awstats of your site.

  3. #3
    SitePoint Evangelist artcoder's Avatar
    Join Date
    Aug 2005
    Location
    Planet Earth
    Posts
    599
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay, but I didn't want to give out my cpanel password.

    So I just decided to print the reports into PDF and upload the PDFs into a separate directory.

  4. #4
    SitePoint Addict
    Join Date
    Jan 2008
    Posts
    326
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Depending on your host you may also be able to script the output of the PDFs so that they are generated and uploaded automatically.

  5. #5
    SitePoint Addict
    Join Date
    May 2008
    Location
    Missouri, USA
    Posts
    273
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here is a pretty simple script I've used to accomplish exactly this. After setting up the script just use htaccess to password restrict it. This will show the awstats exactly as you see them in the control panel, so there is no need to export to pdf. If you wanted to only show the stats for 2009 i'm sure you could modify the script to do so, but in its original state it will show all stats as you would see in cpanel.

    http://www.josheli.com/vox/view_source.php?awstats.php
    Follow Me On Twitter: BryceRay


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •