Webalizer Multi Languages: Difference between revisions
m
Reverted edits by Upazixorys (Talk); changed back to last version by Ric
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 |