Webalizer Multi Languages: Difference between revisions

From The Uniform Server Wiki
Jump to navigation Jump to search
No edit summary
m (Text replace - "projects/uniformserver" to "projects/miniserver")
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=[http://ihyveqo.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=
<span id="top"></span>
&lt;span id=&quot;top&quot;&gt;&lt;/span&gt;
{| cellpadding="2"
{| cellpadding=&quot;2&quot;
|__TOC__||'''Webalizer Server Stastics 5-Nano<br />Multi Languages'''
|__TOC__||'''Webalizer Server Stastics 5-Nano&lt;br /&gt;Multi Languages'''
|}
|}
'''Introduction'''
'''Introduction'''
Line 61: Line 60:
|-
|-
|
|
&lt;pre&gt;
<pre>
  Alias /webalizer &quot;C:/Nano_5_4/UniServer/webalizer/&quot;
  Alias /webalizer "C:/Nano_5_4/UniServer/webalizer/"
  &lt;Directory &quot;C:/Nano_5_4/UniServer/webalizer/&quot;&gt;
  <Directory "C:/Nano_5_4/UniServer/webalizer/">
   Options Indexes Includes
   Options Indexes Includes
   AllowOverride All
   AllowOverride All
   Order allow,deny
   Order allow,deny
   Allow from all
   Allow from all
  &lt;/Directory&gt;
  </Directory>
&lt;/pre&gt;
</pre>
|}
|}
'''''Note'':''' Change the first two lines so the paths to folder UniServer matches those in the “Alias /apanel” block
'''''Note'':''' Change the first two lines so the paths to folder UniServer matches those in the “Alias /apanel” block
Line 78: Line 77:


# Start servers
# Start servers
# Type the following into a browser: '''&lt;nowiki&gt;http://localhost/webalizer/&lt;/nowiki&gt;'''
# Type the following into a browser: '''<nowiki>http://localhost/webalizer/</nowiki>'''
# After a short time a page is displayed showing what actions Webalizer performed.
# After a short time a page is displayed showing what actions Webalizer performed.
# Click link &quot;'''Server Statistics'''&quot; or wait ten seconds to be directed to statistics pages.  
# Click link "'''Server Statistics'''" or wait ten seconds to be directed to statistics pages.  
{|
{|
|-valign=&quot;top&quot;
|-valign="top"
| '''''Note 1'':'''||Default installation of Webalizer allows only local access this&lt;br /&gt;prevents users viewing server statistics online.
| '''''Note 1'':'''||Default installation of Webalizer allows only local access this<br />prevents users viewing server statistics online.
|-valign=&quot;top&quot;
|-valign="top"
| '''''Note 2'':'''||Internet address at step 2) forces a recalculation of statistics.&lt;br /&gt;To bypass this recalcuation use the following address:&lt;br /&gt;&lt;nowiki&gt;http://&lt;/nowiki&gt;localhost/'''webalizer/server_statistics/'''
| '''''Note 2'':'''||Internet address at step 2) forces a recalculation of statistics.<br />To bypass this recalcuation use the following address:<br /><nowiki>http://</nowiki>localhost/'''webalizer/server_statistics/'''
|}
|}
'''''[[#top | Top]]'''''
'''''[[#top | Top]]'''''
Line 98: Line 97:
|-
|-
|
|
&lt;pre&gt;
<pre>
  #Order Deny,Allow
  #Order Deny,Allow
  #Deny from all
  #Deny from all
  #Allow from 127.0.0.1
  #Allow from 127.0.0.1
&lt;/pre&gt;
</pre>
|}
|}


Line 119: Line 118:
|-
|-
|
|
&lt;pre&gt;
<pre>
  AuthName &quot;Uniform Server - Webalizer Access&quot;
  AuthName "Uniform Server - Webalizer Access"
  AuthType Basic
  AuthType Basic
  AuthUserFile ../../../htpasswd/webalizer/.htpasswd
  AuthUserFile ../../../htpasswd/webalizer/.htpasswd
  Require valid-user
  Require valid-user
&lt;/pre&gt;
</pre>
|}
|}
Change name and password.
Change name and password.
Line 138: Line 137:
English is the default language to change this proceed as follows:
English is the default language to change this proceed as follows:


* Check folder UniServer\webalizer\lang for language required, note its&lt;br /&gt;file name e.g. webalizer_lang.swedish
* Check folder UniServer\webalizer\lang for language required, note its<br />file name e.g. webalizer_lang.swedish
* Edit file: UniServer\webalizer\'''webalizer.conf'''
* Edit file: UniServer\webalizer\'''webalizer.conf'''
* At the end of this file locate line:&lt;br /&gt;'''#LanguageFile    lang\webalizer_lang.german'''
* At the end of this file locate line:<br />'''#LanguageFile    lang\webalizer_lang.german'''
* Change to:&lt;br /&gt;'''LanguageFile    lang\webalizer_lang.swedish'''
* Change to:<br />'''LanguageFile    lang\webalizer_lang.swedish'''


'''''Note'':''' Substitute language file as appropriate
'''''Note'':''' Substitute language file as appropriate

Latest revision as of 16:17, 17 October 2012

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