Webalizer Multi Languages: Difference between revisions

From The Uniform Server Wiki
Jump to navigation Jump to search
(New page: <span id="top"></span> {| cellpadding="2" |__TOC__||'''Webalizer Server Stastics 5-Nano<br />Multi Languages''' |} '''Introduction''' Webalizer is a fast application that generates server...)
(No difference)

Revision as of 11:18, 8 November 2009

Webalizer Server Stastics 5-Nano
Multi Languages

Introduction

Webalizer is a fast application that generates server statistics from Apache’s access log file.

Analysis results are converted into standard WebPages with data presented in both text and graphical format.

Download

Download either of the following files:

Webalizer_all_lang_1_0.exe

Or

Webalizer_all_lang_1_0.zip

Top

Installation

Webalizer has been packaged in two file formats the “exe” is a 7z self-extracting archive while the “zip” archive requires manual extraction.

Depending on the file format choose one of the following installation methods:

exe

  • Copy Webalizer_all_lang_1_0.exe to folder UniServer. To extract double click on file.
  • When challenged allow overwriting. To save space delete Webalizer_all_lang_1_0.exe

zip

  • Create a new temporary folder and copy Webalizer_all_lang_1_0.zip to it.
  • Extract all files to this current folder.
  • Navigate to folder named Webalizer_all_lang_1_0
  • Copy the entire contents of this folder to the UniServer folder.
  • When challenged allow overwriting.
  • To save space you can delete the above temporary folder.

Folder structure

UniServer\docs\Read_me_webalizer.txt - This file
UniServer\htpasswd\webalizer\.htpasswd - Name password file
UniServer\webalizer - Main Webalizer folder
UniServer\webalizer\server_statistics - Calculated statistics and images
UniServer\webalizer\lang - Language files

Top

Apache configuration

If using Uniform Server 5.4-Nano skip this section.

  • Edit file: UniServer\usr\local\apache2\conf\httpd.conf
  • Locate the “Alias /apanel” block. Add the following block just below it.
 Alias /webalizer "C:/Nano_5_4/UniServer/webalizer/"
 <Directory "C:/Nano_5_4/UniServer/webalizer/">
   Options Indexes Includes
   AllowOverride All
   Order allow,deny
   Allow from all
 </Directory>

Note: Change the first two lines so the paths to folder UniServer matches those in the “Alias /apanel” block

Top

View Server Statistics locally

View server statistics locally as follows.

  1. Start servers
  2. Type the following into a browser: http://localhost/webalizer/
  3. After a short time a page is displayed showing what actions Webalizer performed.
  4. Click link "Server Statistics" or wait ten seconds to be directed to statistics pages.
Note 1: Default installation of Webalizer allows only local access this
prevents users viewing server statistics online.
Note 2: Internet address at step 2) forces a recalculation of statistics.
To bypass this recalcuation use the following address:
http://localhost/webalizer/server_statistics/

Top

View Server Statistics online

To view your server statistics online edit the following file:

UniServer\webalizer\.htaccess

Comment the following three lines as shown below.

 #Order Deny,Allow
 #Deny from all
 #Allow from 127.0.0.1

The above allows Internet and Intranet access.

Top

Restrict access

If you wish to view your server statistics online and prevent other users from

viewing them restrict access by enabling name/password access as follows:

Edit file: UniServer\webalizer\.htaccess

Uncomment the following four lines as shown below.

 AuthName "Uniform Server - Webalizer Access"
 AuthType Basic
 AuthUserFile ../../../htpasswd/webalizer/.htpasswd
 Require valid-user

Change name and password.

Edit file: UniServer\htpasswd\webalizer\.htpasswd

Name password pairs have the folloing format: name:password

Default is root:root

Top

Change language

English is the default language to change this proceed as follows:

  • Check folder UniServer\webalizer\lang for language required, note its
    file name e.g. webalizer_lang.swedish
  • Edit file: UniServer\webalizer\webalizer.conf
  • At the end of this file locate line:
    #LanguageFile lang\webalizer_lang.german
  • Change to:
    LanguageFile lang\webalizer_lang.swedish

Note: Substitute language file as appropriate

Top

Related

Webalizer English

Top