<a name="DirCgi"><b>DirCgi</b></a><br>
<b>Version : </b>1.0+<br>
-<br># Relative or absolute web URL of your awstats.pl directory.
+<br># Relative or absolute web URL of your awstats cgi-bin directory.
<br># This parameter is used only when AWStats is ran from command line
<br># with -output option (to generate links in HTML reported page).
-<br># Default: "/cgi-bin" (means awstats.pl is in "/mywwwroot/cgi-bin")
+<br># Example: "/awstats"
+<br># Default: "/cgi-bin" (means awstats.pl is in "/yourwwwroot/cgi-bin")
<br>#
<br>DirCgi="/cgi-bin"
<a name="DirIcons"><b>DirIcons</b></a><br>
<b>Version : </b>1.0+<br>
-<br># If AWStats used as a CGI, enter relative or absolute web URL of all icons
-<br># subdirectories.
+<br># Relative or absolute web URL of your awstats icon directory.
<br># If you build static reports ("... -output > outputpath/output.html"), enter
-<br># path of icon directory relative to the directory outputpath.
-<br># Example: "/icon"
+<br># path of icon directory relative to the output directory 'outputpath'.
+<br># Example: "/awstatsicons"
<br># Example: "../icon"
<br># Default: "/icon" (means you must copy icon directories in "/mywwwroot/icon")
<br>#
<br># same time to prevent unknown conflicts problems and avoid DoS attacks when
<br># AllowToUpdateStatsFromBrowser is set to 1.
<br># Because, when you use lock file, you can experience sometimes problems in
-<br># lock file not correctly removed (when process is killed for example, this
-<br># requires that you remove the file manualy), this option is not enabled by
-<br># default (Do not enable this option with no consol server access).
+<br># lock file not correctly removed (killed process for example requires that
+<br># you remove the file manualy), this option is not enabled by default (Do
+<br># not enable this option with no console server access).
<br># Possible values: 0 or 1
<br># Default: 0
<br>#
<br># You can ask AWStats to use a particular CSS (Cascading Style Sheet) to
<br># change its look. To create a style sheet, you can use samples provided with
<br># AWStats in wwwroot/css directory.
+<br># Example: "/awstatscss/awstats_bw.css"
<br># Example: "/css/awstats_bw.css"
<br># Default: ""
<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, this might be
+(if you use a package provided with a Linux distribution or Windows installer, this might be
already done and is not necessary)<br>
<br>
Configure your apache web server to have <b>NCSA combined/XLF/ELF</b> log format (you can use your own log format but
<br>
<font style="color: #111155"><b>* Step 1-2</b>:</font><br>
-(if you use a package provided with a Linux distribution or windows installer, this might be
+(if you use a package provided with a Linux distribution or Windows installer, this might be
already done and is not necessary)<br>
<br>
Check that your Apache config file (httpd.conf) contains the following directives and add them
Alias /awstatsicons "/usr/local/awstats/wwwroot/icon/"<br>\r
ScriptAlias /awstats/ "/usr/local/awstats/wwwroot/cgi-bin/"<br>\r
</i>
+<br>
+Note that you need to restart Apache to apply the changes.<br>
<br>\r
<font style="color: #111155"><b>* Step 1-3</b>:</font><br>
-(with most Perl interpreter correctly setup, this step is not required)<br><br>
+(if Perl interpreter is correctly setup, this step is not required)<br><br>
If necessary, edit the first (top-most) line of awstats.pl file that is<br>
<i>#!/usr/bin/perl</i><br>
to reflect the path were your Perl interpreter is installed. Default value works for most of Unix OS, but it also might be<br>
<br>
<font style="color: #111155"><b>* Step 1-4</b>:</font><br>
-(if you use a package provided with a Linux distribution or windows installer, this might be
-already done and is not necessary)<br>
+(if you use a package provided with a Linux distribution or Windows installer, this might not be necessary)<br>
<br>
Move AWStats <b>icon sub-directories</b> and its content into a directory readable by your
-web server, for example /yourwwwroot/icon or /yourwwwroot/icons.<br>
+web server, for example /yourwwwroot/icon.<br>
<br>
<font style="color: #111155"><b>* Step 1-5</b>:</font><br>
-(if you use a package provided with a Linux distribution, your config file might
-have been already created under /etc/awstats directory)<br>
+(if you use a package provided with a Linux distribution or Windows installer, your config
+file might have been already created)<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>
<br>
<font style="color: #111155"><b>* Step 1-6</b>:</font><br>
-(if you use a package provided with a Linux distribution, your config file
-might have been already edited and stored in /etc/awstats)<br><br>
+(if you use a package provided with a Linux distribution or Windows installer, your config
+file already contains the right values)<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>