AWStats common use is made in 3 steps:<br>
<ul>
-<li>Step 1 : <a href="#INSTALL">The install and setup</a><br>
-<li>Step 2 : <a href="#BUILD_UPDATE">The build/update of statistics</a><br>
-<li>Step 3 : <a href="#READ">The reading of results</a><br>
+<li>Step 0 : <a href="#INSTALL">The install and setup</a><br>
+<li>Step 1 : <a href="#BUILD_UPDATE">The build/update of statistics</a><br>
+<li>Step 2 : <a href="#READ">The reading of results</a><br>
</ul>
<br>
<br>
<a name="INSTALLAPACHE"><b>A) With Apache or compatible server (on Unix/Linux, Windows, MacOS...)</b></a><br>
<br>
-<font style="color: #111155"><b>* Step 1-1</b>:</font><br>
-(if you use a package provided with a Linux distribution or Windows installer, action done in step 1-1
+<font style="color: #111155"><b>* Step 0-1</b>:</font><br>
+(if you use a package provided with a Linux distribution or Windows installer, action done in step 0-1
might have already be done, if you don't know you, do it again)<br>
<br>
After downloading and extracting the AWStats package, you should run the awstats_configure.pl script to do
<br>
</ul>
-<font style="color: #111155"><b>* Step 1-2</b>:</font><br>
+<font style="color: #111155"><b>* Step 0-2</b>:</font><br>
Once a config file has been automatically created (by awstats_configure.pl, by you package
installer or just by a manual copy of awstats.model.conf), it's important to edit it manually and change the "MAIN PARAMETERS"
to match all your needs:<br>
- You can also change other parameters if you want.<br>
<br>
-Step 1 (Install and Setup) is finished. You can jump to the <a href="#BUILD_UPDATE">Build/Update Statistics</a> section.<br>
+Step 0 (Install and Setup) is finished. You can jump to the <a href="#BUILD_UPDATE">Build/Update Statistics</a> section.<br>
<br>
<br>
<br>
<a name="INSTALLIIS"><b>B) With IIS server</b></a><br>
<br>
-<font style="color: #111155"><b>* Step 1-1</b>:</font><br>
+<font style="color: #111155"><b>* Step 0-1</b>:</font><br>
<br>
Configure IIS to log in <b>"Extended W3C log format"</b> (You can still use
your own log format but setup is easier if made like suggested). So, for
<i>2000-07-19 14:14:14 62.161.78.73 - GET / 200 1234 HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0) http://www.from.com/from.htm</i><br>
<br>
-<font style="color: #111155"><b>* Step 1-2</b>:</font><br>
+<font style="color: #111155"><b>* Step 0-2</b>:</font><br>
<br>
Copy the contents of the provided cgi-bin folder from your hard drive to your server's cgi-bin
directory (this includes <b>awstats.pl</b>, <b>awstats.model.conf</b>, and the <b>lang</b>, <b>lib</b> and <b>plugins</b> sub-directories).<br>
<br>
-<font style="color: #111155"><b>* Step 1-3</b>:</font><br>
+<font style="color: #111155"><b>* Step 0-3</b>:</font><br>
<br>
Move AWStats <b>icon sub-directories</b> and its content into a directory readable by your
web server, for example C:\yourwwwroot\icon.<br>
<br>
-<font style="color: #111155"><b>* Step 1-4</b>:</font><br>
+<font style="color: #111155"><b>* Step 0-4</b>:</font><br>
<br>
Create a config file by copying <b>awstats.model.conf</b> file into a new file named <b>awstats.myvirtualhostname.conf</b>.
You can use the value of your choice instead of "myvirtualhostname". This new file must be stored in<br>
- Same directory than awstats.pl (so cgi-bin)<br>
<br>
-<font style="color: #111155"><b>* Step 1-5</b>:</font><br>
+<font style="color: #111155"><b>* Step 0-5</b>:</font><br>
<br>
Edit this new config file with your own setup :<br>
- Change <a href="awstats_config.html#LogFile">LogFile</a> value with full path of your web server log file (You
can also use a relative path from your awstats.pl directory).<br>
- Change <a href="awstats_config.html#LogType">LogType</a> value with "W" for analyzing
web server log files, "S" for a streaming server log file, "M" for mail log files, "F" for ftp log files, "O" otherwise.<br>
-- Change <a href="awstats_config.html#LogFormat">LogFormat</a> to a value with same field's name defined in step 1-1:<br><i>
+- Change <a href="awstats_config.html#LogFormat">LogFormat</a> to a value with same field's name defined in step 0-1:<br><i>
LogFormat="date time c-ip cs-username cs-method cs-uri-stem cs-uri-query sc-status sc-bytes cs-version cs(User-Agent) cs(Referer)"</i><br>
- Change <a href="awstats_config.html#DirIcons">DirIcons</a> parameter to reflect relative path of icon directory.<br>
- Edit <a href="awstats_config.html#SiteDomain">SiteDomain</a> parameter with the main domain name or the intranet
- Set <a href="awstats_config.html#AllowToUpdateStatsFromBrowser">AllowToUpdateStatsFromBrowser</a> parameter to 1 if you don't have command line access and have only cgi access.<br>
- You can change other parameters if you want.<br>
<br>
-Step 1 (Install and Setup) is finished. You can jump to the <a href="#BUILD_UPDATE">Build/Update Statistics</a> section.<br>
+Step 0 (Install and Setup) is finished. You can jump to the <a href="#BUILD_UPDATE">Build/Update Statistics</a> section.<br>
<br>
<br>
<br>
<br>
-<a name="BUILD_UPDATE"><H2 style="font: 22px arial,helvetica,sanserif color: #606060"><u>Step 2 : Build/Update Statistics</u></H2></a>
+<a name="BUILD_UPDATE"><H2 style="font: 22px arial,helvetica,sanserif color: #606060"><u>Step 1 : Build/Update Statistics</u></H2></a>
<br>
-<font style="color: #111155"><b>* Step 2-1</b>:</font><br>
+<font style="color: #111155"><b>* Step 1-1</b>:</font><br>
<br>
The first analyze/update of statistics should be made the first time manually from the command line since first time,
-process may be long and it's easier to solve problems (if you don't have Command Line access, just go to Step 2-2). The
+process may be long and it's easier to solve problems (if you don't have Command Line access, just go to Step 1-2). The
AWStats update command line is:<br>
<b><i>awstats.pl -config=myvirtualhostname -update</i></b><br>
<br>
See <a href="awstats_benchmark.html">Benchmark page</a> for more accurate information.<br>
<br>
-<font style="color: #111155"><b>* Step 2-2</b>:</font><br>
+<font style="color: #111155"><b>* Step 1-2</b>:</font><br>
<br>
AWStats statistics can be updated from a browser, to provide real-time statistics, by clicking
the "Update now" link that appears when AWStats is used as a CGI (Next section '<a href="#READ">Read Statistics</a>
<br>
<br>
-<br><a name="READ"><H2 style="font: 22px arial,helvetica,sanserif color: #606060"><u>Step 3 : Read Statistics</u></H2></a>
+<br><a name="READ"><H2 style="font: 22px arial,helvetica,sanserif color: #606060"><u>Step 2 : Read Statistics</u></H2></a>
<br>
To see results of analyze, you have several solutions depending on your <a href="awstats_security.html">security policy</a>.<br>