"Fossies" - the Fresh Open Source Software Archive

Member "betterawstats/docs/install.txt" (18 Mar 2008, 1767 Bytes) of package /linux/www/old/betterawstats-1.0.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 REQUIREMENTS:
    2 
    3 - awstats and generated datafiles from awstats.
    4 - PHP 5.2 or above
    5 - a Webserver that can process PHP files (Apache, IIS etc)
    6 - 1MB space
    7 - A recent browser version that can properly render CSS, such as Opera 9, Firefox 2, IE 7 etc.
    8 - 1024x786 screen or larger
    9 
   10 INSTALL PROCEDURE BETTERAWSTATS:
   11 
   12 1. Extract the files into any web-accessible directory, preserving the directory structure.
   13 2. Edit the file config.php. Specially the paths to the awstats files have to be correct
   14 3. Open index.php in your browser and you should see the results.
   15 4. Under Linux, in order to use the online config editor, please make your config.php 
   16    file writable by apache:
   17     chown apache:apache ./config.php
   18     chmod 664 ./config.php
   19    and set $BAW_CONF['online_config'] to true.
   20    If your BetterAWStats installation is not protected by password, you have to make the 
   21    config.php file unwritable after you changed the settings and disable $BAW_CONF['online_config']
   22 
   23 IMPORTANT NOTES:
   24 
   25 It is STRONGLY recommended to password-protect the folder where BetterAWStats is installed
   26 SPECIALLY when using the online config editor. You can use .htaccess files for example.
   27 
   28 DAILY USE:
   29 
   30 - update your statistics as usual with awstats
   31 - Open BetterAwstats to see the statistics
   32 
   33 HOW TO ADD ADITIONAL EXTRA SECTIONS:
   34 
   35 Awstats allows to add aditional extra sections with custom stats. In order to create those,
   36 1. Please edit the file /core/extras.inc.php. Take a look at section EXTRAS_1 and copy the whole function again into the file, changing the function to show the data desired.
   37 2. Below that, please copy the $BAW_CONF_DIS_DEF section and edit the fariables according to point 1.
   38 3. Copy the respective section also in config.php and adjust the values accordingly.