| AWStats logfile analyzer 6.7 Documentation |

# AWStats Webmin module

This page is designed to help users of the 'Webmin' administration tool (www.webmin.com) to manage their AWStats config/tools. If you don't use it, you don't need to read what is described here.

- Adding the AWStats Webmin module to Webmin interface
- Setup of the AWStats Webmin module
- Using the AWStats Webmin module

## Adding the AWStats Webmin module to Webmin interface

- Run Webmin, go to "Webmin Configuration".
- Click on "Webmin Modules".
- Enter in the "Install module", the path of the awstats-x.x.wbm file (this file is provided with AWStats in tools/webmin directory or can be downloaded separately from AWStats web site) and click "Install module".
  After that a new entry "AWStats LogFile Analysis" should appear in your Webmin menu.

  ## Setup of the AWStats Webmin module

- Run Webmin, go to the "AWStats LogFile Analysis" menu.
- Click on the "Module configuration".
- You must now enter here values for:
  - Absolute filesystem path to AWStats (CLI)
  It's the full path of the awstats.pl script. Path depends on package you use.
  It could be /usr/local/awstats/wwwroot/cgi-bin/awstats.pl
  - Absolute or relative URL path to AWStats (CGI)
  It's absolute or relative URL you must enter to run AWStats as a CGI. This depends on the way you setup your web server and cgi directories.
  It could be /cgi-bin/awstats.pl or http://127.0.0.1/awstats/awstats.pl.
  - Sample AWStats configuration file
  This is the sample file used to create a new config file.
  In most cases it must be /etc/awstats/awstats.model.conf.

  ## Using the AWStats Webmin module

- Just run Webmin, go to the "AWStats LogFile Analysis" menu.
- You can now, add, edit or delete config files.
- You can also update or view statistics for a particular config file.