Webalizer Multi Languages: Difference between revisions
Upazixorys (talk | contribs) No edit summary |
m (Reverted edits by Upazixorys (Talk); changed back to last version by Ric) |
||
Line 1: | Line 1: | ||
<span id="top"></span> | |||
{| cellpadding="2" | |||
{| cellpadding= | |__TOC__||'''Webalizer Server Stastics 5-Nano<br />Multi Languages''' | ||
|__TOC__||'''Webalizer Server Stastics 5-Nano | |||
|} | |} | ||
'''Introduction''' | '''Introduction''' | ||
Line 61: | Line 60: | ||
|- | |- | ||
| | | | ||
<pre> | |||
Alias /webalizer | Alias /webalizer "C:/Nano_5_4/UniServer/webalizer/" | ||
<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 | ||
</Directory> | |||
</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: ''' | # 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 | # Click link "'''Server Statistics'''" or wait ten seconds to be directed to statistics pages. | ||
{| | {| | ||
|-valign= | |-valign="top" | ||
| '''''Note 1'':'''||Default installation of Webalizer allows only local access this | | '''''Note 1'':'''||Default installation of Webalizer allows only local access this<br />prevents users viewing server statistics online. | ||
|-valign= | |-valign="top" | ||
| '''''Note 2'':'''||Internet address at step 2) forces a recalculation of 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: | ||
|- | |- | ||
| | | | ||
<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 | ||
</pre> | |||
|} | |} | ||
Line 119: | Line 118: | ||
|- | |- | ||
| | | | ||
<pre> | |||
AuthName | AuthName "Uniform Server - Webalizer Access" | ||
AuthType Basic | AuthType Basic | ||
AuthUserFile ../../../htpasswd/webalizer/.htpasswd | AuthUserFile ../../../htpasswd/webalizer/.htpasswd | ||
Require valid-user | Require valid-user | ||
</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 | * 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: | * At the end of this file locate line:<br />'''#LanguageFile lang\webalizer_lang.german''' | ||
* Change to: | * Change to:<br />'''LanguageFile lang\webalizer_lang.swedish''' | ||
'''''Note'':''' Substitute language file as appropriate | '''''Note'':''' Substitute language file as appropriate |
Revision as of 08:37, 24 November 2010
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:
Or
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 |
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
View Server Statistics locally
View server statistics locally as follows.
- Start servers
- Type the following into a browser: http://localhost/webalizer/
- After a short time a page is displayed showing what actions Webalizer performed.
- 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/ |
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.
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
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