Smartlab Software logo

AWStats: Install on Shared 1and1 Server

AWStats logo How to install AWStats on a 1and1 shared server. Most of the directions will apply to other servers as well.

Steps

  1. Acquire AWStats, other programs, and pertinent information
  2. Install AWStats on the 1and1 shared server
  3. Install AWStats on your computer
  4. Set up the AWStats config file
  5. Create a usable log file
  6. Create/update the AWStats database
  7. Create a traffic web page
  8. Create report batch files
  9. Analyze the traffic page
  10. Tasks

Extending AWStats

  1. Extras
  2. Geographic Plug-ins
  3. How To

Help

  1. Glossary
  2. FAQ
  3. Pages not found FAQ
  4. Stop Referer Spam

If you are only running AWStats from your computer skip this step.

Install AWStats on a Server

You can skip this page if all your processing will be done on your computer instead of the server.

Since AWStats version 6.8 is the latest (as of Aug 2008) I will be using it as the example.

1. Install awstats-6.8.exe to a directory called awstats in the directory where your website is kept (since awstats will be uploaded to your website). The directory structure will look like this:

awstats
   docs
   tools
   wwwroot
     cgi-bin
     classes
     css
     icon
     js

2. In awstats, create a directory called statdata. This is where the AWStats statistical database will be stored (which is comprised of several text files.
3. In awstats, create a directory called statlogs. This is where we'll put log files for AWStats to process.
4. Since I view docs locally or at awstats home page, I don't upload docs. I copy the necessary tools to the cgi-bin directory so no reason to upload tools directory either.
5. This is the resulting directory structure, ready to upload:

awstats
   statdata
   statlogs
   wwwroot
     cgi-bin
     classes
     css
     icon
     js
4. Upload awstats directory to the root (where your home page lives) of your 1and1 server.
5. Add awstats to robots.txt so it is not indexed by search engines. This only helps if search engine bots obey the robots.txt. The nefarious ones will not so I prefer to password the awstats directory.

Next: Install AWStats Locally