Skip to content

Commit

Permalink
Call AWStats correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Mar 11, 2022
1 parent a459baf commit 88b4bf3
Show file tree
Hide file tree
Showing 110 changed files with 2,064 additions and 2,064 deletions.
14 changes: 7 additions & 7 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
---- Changes since 2.3 ----
Old rotated log files are included in AWstats reports as well.
Old rotated log files are included in AWStats reports as well.
---- Changes since 2.4 ----
Added Apache script alias for /awstats so that the URL /awstats/awstats.pl works.
Either awstats.conf or awstats.model.conf are supported as template config files.
---- Changes since 2.5 ----
Log files with % in their names are no longer checked for existance, as AWstats replaces these with dates/times.
Log files with % in their names are no longer checked for existance, as AWStats replaces these with dates/times.
---- Changes since 2.7 ----
Fixed lib, lang and plugin paths on FC6.
---- Changes since 3.0 ----
Fixed bug that prevented custom plugins, lang and lib directories from working.
Added links for awstats-icon directory, for Debian.
---- Changes since 3.1 ----
AWstats data files containing the domain name are now linked to those with www. before the domain, so that the URL www.yourdomain.com/awstats/awstats.pl shows some data.
AWStats data files containing the domain name are now linked to those with www. before the domain, so that the URL www.yourdomain.com/awstats/awstats.pl shows some data.
---- Changes since 3.2 ----
Added a template pages option to have the /awstats web directory password protected.
---- Changes since 3.3 ----
Fixed password protection of awstats.pl via different paths.
Alias domains whose target has AWstats enabled are now added to the configuration of the target, so that AWstats can be correctly accessed via the alias domain name.
Alias domains whose target has AWStats enabled are now added to the configuration of the target, so that AWStats can be correctly accessed via the alias domain name.
---- Changes since 3.8 ----
The AWstats library and plugin directories are copied into domains when the AWstats feature is enable, to avoid possible in-compatability issues if the global awstats.pl is upgraded.
The AWStats library and plugin directories are copied into domains when the AWStats feature is enable, to avoid possible in-compatability issues if the global awstats.pl is upgraded.
---- Changes since 3.9 ----
Added the AWstats Configuration page, for setting various useful options in a domain's awstats.conf file.
Added the AWStats Configuration page, for setting various useful options in a domain's awstats.conf file.
---- Changes since 4.0 ----
Instead of copying awstats.pl and the lib, plugins and lang directories into the domain's cgi-bin directory, a wrapper to call awstats.pl is created and the directories are symlinked.
---- Changes since 4.2 ----
Logs can now be generated from the output of a command, instead of a file.
---- Changes since 4.4 ----
Access to a password-protected AWstats report can now be granted to individual users on the Mail and FTP Users page.
Access to a password-protected AWStats report can now be granted to individual users on the Mail and FTP Users page.
---- Changes since 4.7 ----
Copy icons into each domain's directory instead of symlinking, to avoid cross-user symlink restrictions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[![Build Status](https://travis-ci.org/virtualmin/virtualmin-awstats.svg?branch=master)](https://travis-ci.org/virtualmin/virtualmin-awstats)

# virtualmin-awstats
Virtualmin plugin to manage AWstats analytics and provide a UI for domain owners to view their own reports
Virtualmin plugin to manage AWStats analytics and provide a UI for domain owners to view their own reports

![Virtualmin AWstats Configuration](http://i.imgur.com/tcpWqSQ.png)
![Virtualmin AWStats Configuration](http://i.imgur.com/tcpWqSQ.png)

![Virtualmin AWstats Report](http://i.imgur.com/LFEjp7T.png)
![Virtualmin AWStats Report](http://i.imgur.com/LFEjp7T.png)

# Installation

Expand All @@ -29,6 +29,6 @@ http://software.virtualmin.com/gpl/wbm

# Usage

Click *AWstats Reports* in the *Logs and Reports* menu for your domain. To alter the configuration of AWstats, such as enabling AWstats plugins, selecting reporting levels, etc. browse to *AWstats Configuration* in the same menu.
Click *AWStats Reports* in the *Logs and Reports* menu for your domain. To alter the configuration of AWStats, such as enabling AWStats plugins, selecting reporting levels, etc. browse to *AWStats Configuration* in the same menu.

You can configure whether Virtualmin provides access to the AWstats module in the *Features and Plugins* page (in *System Settings*), and you can configure system-wide AWstats details from the *Configure* button on that page.
You can configure whether Virtualmin provides access to the AWStats module in the *Features and Plugins* page (in *System Settings*), and you can configure system-wide AWStats details from the *Configure* button on that page.
2 changes: 1 addition & 1 deletion awstats.pl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/local/bin/perl
# Refresh the AWstats report, from a cron job
# Refresh the AWStats report, from a cron job
use strict;
use warnings;

Expand Down
2 changes: 1 addition & 1 deletion config.cgi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/local/bin/perl
# Show a form for editing AWstats config file settings
# Show a form for editing AWStats config file settings
use strict;
use warnings;
our (%text, %in);
Expand Down
16 changes: 8 additions & 8 deletions config.info
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
config_dir=AWstats configuration directory,0
awstats=Full path to AWstats program,0
icons=Full path to AWstats icons directory,0
lang=Full path to AWstats lang directory,3,Same as awstats.pl
lib=Full path to AWstats lib directory,3,Same as awstats.pl
plugins=Full path to AWstats plugins directory,3,Same as awstats.pl
config_dir=AWStats configuration directory,0
awstats=Full path to AWStats program,0
icons=Full path to AWStats icons directory,0
lang=Full path to AWStats lang directory,3,Same as awstats.pl
lib=Full path to AWStats lib directory,3,Same as awstats.pl
plugins=Full path to AWStats plugins directory,3,Same as awstats.pl
format=Web server log format,1,-Automatic,1-Combined,4-Common
nocron=Setup AWstats Cron job for each virtual server?,1,0-Yes,1-No
nocron=Setup AWStats Cron job for each virtual server?,1,0-Yes,1-No
noedit=Server owner permissions,1,1-View report only,0-Edit report schedule
copyto=Copy AWstats CGI program to,10,-cgi-bin directory,Other directory under home
copyto=Copy AWStats CGI program to,10,-cgi-bin directory,Other directory under home
aliases=Extra host aliases,0
16 changes: 8 additions & 8 deletions config.info.nl
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
config_dir=AWstats configuratie directory,0
awstats=Volledig pad naar AWstats programma,0
icons=Volledig pad naar AWstats iconen directory,0
lang=Volledig pad naar AWstats lang directory,3,Zelfde als awstats.pl
lib=Volledig pad naar AWstats lib directory,3,Zelfde als awstats.pl
plugins=Volledig pad naar de AWstats plugin directory,3,Zelfde als awstats.pl
config_dir=AWStats configuratie directory,0
awstats=Volledig pad naar AWStats programma,0
icons=Volledig pad naar AWStats iconen directory,0
lang=Volledig pad naar AWStats lang directory,3,Zelfde als awstats.pl
lib=Volledig pad naar AWStats lib directory,3,Zelfde als awstats.pl
plugins=Volledig pad naar de AWStats plugin directory,3,Zelfde als awstats.pl
format=Web server log formaat,1,-Automatisch,1-Gecombineerd,4-Algemeen
nocron=Setup van AWstats Cron taak voor iedere virtuele server?,1,0-Ja,1-Nee
nocron=Setup van AWStats Cron taak voor iedere virtuele server?,1,0-Ja,1-Nee
noedit=Server eigenaars permissies,1,1-Bekijk alleen rapport,0-Bewerk rapport schema
copyto=Kopieer AWstats CGI programma naar,10,-cgi-bin directory, Andere directory onder home
copyto=Kopieer AWStats CGI programma naar,10,-cgi-bin directory, Andere directory onder home
aliases=Extra host aliassen,0
16 changes: 8 additions & 8 deletions config.info.no
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
config_dir=AWstats konfigurasjonskatalog,0
awstats=Full sti til AWstats program,0
icons=Full sti til AWstats icons katalog,0
lang=Full sti til AWstats lang katalog,3,Samme som awstats.pl
lib=Full sti til AWstats lib katalog,3,Samme som awstats.pl
plugins=Full sti til AWstats plugins katalog,3,Samme som awstats.pl
config_dir=AWStats konfigurasjonskatalog,0
awstats=Full sti til AWStats program,0
icons=Full sti til AWStats icons katalog,0
lang=Full sti til AWStats lang katalog,3,Samme som awstats.pl
lib=Full sti til AWStats lib katalog,3,Samme som awstats.pl
plugins=Full sti til AWStats plugins katalog,3,Samme som awstats.pl
format=Web tjener loggformat,1,-Automatisk,1-Kombinert,4-Vanlig
nocron=Sett opp AWstats Cron jobb for hver virtuelle tjener?,1,0-Ja,1-Nei
nocron=Sett opp AWStats Cron jobb for hver virtuelle tjener?,1,0-Ja,1-Nei
noedit=Tjener eier tillatelser,1,1-Bare se rapporter,0-Rediger tidsplan for rapporter
copyto=Kopier AWstats CGI program til,10,-cgi-bin katalog,Anne katalog under hjem
copyto=Kopier AWStats CGI program til,10,-cgi-bin katalog,Anne katalog under hjem
aliases=Ekstra vertsaliaser,0
16 changes: 8 additions & 8 deletions config.info.tr
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
config_dir=AWstats configuration directory,0
awstats=Full path to AWstats program,0
icons=Full path to AWstats icons directory,0
lang=Full path to AWstats lang directory,3,Same as awstats.pl
lib=Full path to AWstats lib directory,3,Same as awstats.pl
plugins=Full path to AWstats plugins directory,3,Same as awstats.pl
config_dir=AWStats configuration directory,0
awstats=Full path to AWStats program,0
icons=Full path to AWStats icons directory,0
lang=Full path to AWStats lang directory,3,Same as awstats.pl
lib=Full path to AWStats lib directory,3,Same as awstats.pl
plugins=Full path to AWStats plugins directory,3,Same as awstats.pl
format=Web server log format,1,-Automatic,1-Combined,4-Common
nocron=Setup AWstats Cron job for each virtual server?,1,0-Yes,1-No
nocron=Setup AWStats Cron job for each virtual server?,1,0-Yes,1-No
noedit=Server owner permissions,1,1-View report only,0-Edit report schedule
copyto=Copy AWstats CGI program to,10,-cgi-bin directory,Other directory under home
copyto=Copy AWStats CGI program to,10,-cgi-bin directory,Other directory under home
aliases=Extra host aliases,0
2 changes: 1 addition & 1 deletion config_save.cgi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/local/bin/perl
# Save AWstats config settings
# Save AWStats config settings
use strict;
use warnings;
our (%text, %in);
Expand Down
2 changes: 1 addition & 1 deletion edit.cgi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/local/bin/perl
# Show options for one AWstats domain
# Show options for one AWStats domain
use strict;
use warnings;
our (%access, %text, %in);
Expand Down
2 changes: 1 addition & 1 deletion generate.cgi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/local/bin/perl
# Refresh the AWstats report
# Refresh the AWStats report
use strict;
use warnings;
our (%text, %in);
Expand Down
4 changes: 2 additions & 2 deletions help/label.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<header>Enable AWstats reporting?</header>
<header>Enable AWStats reporting?</header>

When this option is checked, reports on the virtual server's web traffic
will be regularly generated using the AWstats package. They can be viewed
will be regularly generated using the AWStats package. They can be viewed
from within Virtualmin, or at the <tt>/awstats</tt> URL on the server's
website. <p>

Expand Down
4 changes: 2 additions & 2 deletions help/label.nl.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<header>AWstats rapportage aanzetten?</header>
<header>AWStats rapportage aanzetten?</header>

Wanneer deze optie is aangevinkt zal het AWstats programma regelmatig
Wanneer deze optie is aangevinkt zal het AWStats programma regelmatig
rapporten genereren van het web verkeer van de virtuele server.
Dit kan weer bekeken worden in Virtualmin, of via de <tt>/awstats</tt> URL
op de website van de server. <p>
Expand Down
2 changes: 1 addition & 1 deletion icon.cgi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/local/bin/perl
# Output an image for some AWstats domain
# Output an image for some AWStats domain
use strict;
use warnings;
our (%text, %in, %config);
Expand Down
92 changes: 46 additions & 46 deletions lang/af.auto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
index_title=AWstats-verslaggewing
index_title=AWStats-verslaggewing
index_econfig=Gaan na die <a href='$1'>module-opstelling</a> om seker te maak dat dit die regte paaie gebruik.
index_awstats=Awstats
index_dom=Domeinnaam
Expand All @@ -9,14 +9,14 @@ index_view=Beskou ..
index_conf=Config ..
index_yes=Ja, $1
index_no=Geen
index_none=Daar is nog geen domeine opgestel vir AWstats-rapportering nie.
index_none=Daar is nog geen domeine opgestel vir AWStats-rapportering nie.
index_add=Voeg 'n nuwe loglêer by vir verslaggewing.
index_return=lys van verslae

check_ecmd=Die AWstats-opdrag $1 is nie op u stelsel gevind nie.
check_edir=Die AWstats-konfigurasiegids $1 bestaan nie.
check_eicons=Die AWstats-prente-gids $1 bestaan nie.
check_emodel=Die sjabloon AWstats-konfigurasielêer $1 bestaan nie.
check_ecmd=Die AWStats-opdrag $1 is nie op u stelsel gevind nie.
check_edir=Die AWStats-konfigurasiegids $1 bestaan nie.
check_eicons=Die AWStats-prente-gids $1 bestaan nie.
check_emodel=Die sjabloon AWStats-konfigurasielêer $1 bestaan nie.

view_ecannot=U mag nie die verslag vir hierdie domein bekyk nie
view_epath=Ongeldige ikoonpad
Expand All @@ -25,7 +25,7 @@ edit_ecannot=U mag nie die verslag vir hierdie domein opstel nie
edit_ecannot2=U mag nie 'n nuwe loglêer vir verslaggewing byvoeg nie.
edit_title2=Verslag wysig
edit_title1=Skep verslag
edit_header=AWstats rapporteer opsies
edit_header=AWStats rapporteer opsies
edit_dom=Domeinnaam
edit_logsrc=Tekenbron
edit_log0=Loglêer
Expand All @@ -37,7 +37,7 @@ edit_format3=Webstar
edit_format4=Apache algemeen
edit_format0=Custom ..
edit_data=Stoor verslag in die gids
edit_user=Begin AWstats as gebruiker
edit_user=Begin AWStats as gebruiker
edit_sched=Genereer verslag op skedule?
edit_sched0=Geen
edit_sched1=Ja, soms hieronder gekies.
Expand All @@ -46,7 +46,7 @@ edit_view=Bekyk verslag
edit_config=Stel verslag op
edit_emodel=Die <tt>model</tt> domein word gebruik as 'n sjabloon vir nuwe virtuele bedieners en kan nie uitgevee word nie

save_err=Kon nie AWstats-verslag stoor nie
save_err=Kon nie AWStats-verslag stoor nie
save_edom=Domeinnaam ontbreek of ongeldig
save_eclash='N Verslag met dieselfde domeinnaam bestaan reeds
save_elog=Ontbrekende of nie-bestaande loglêer
Expand All @@ -56,8 +56,8 @@ save_edata=Ontbrekende of nie-bestaande datagids
save_euser=Gebruiker wat ontbreek of ongeldig is om verslag as
save_euser2=U mag nie die ingevoerde gebruiker verslae uitvoer nie
save_ecopy=Kon nie die sjabloonkonfigurasie kopieer nie : $1
save_ecopy2=Kon nie AWstats-program kopieer nie : $1
save_emodel=.. sjabloon AWstats-konfigurasielêer is nie gevind nie
save_ecopy2=Kon nie AWStats-program kopieer nie : $1
save_emodel=.. sjabloon AWStats-konfigurasielêer is nie gevind nie

gen_title=Genereer verslag
gen_doing=Opdatering van die verslag vir $1 vanaf loglêer $2.
Expand All @@ -67,46 +67,46 @@ gen_failed=.. misluk! Kyk na die foutboodskap hierbo om die rede.
gen_wiping=Vee ou datalêers in $1 uit.
gen_wipingdone=.. $1 lêers uitgevee

feat_name=AWstats berig
feat_losing=Geplande AWstats-rapportering sal gedeaktiveer word, en die opstelling daarvan word uitgevee
feat_disname=AWstats berig
feat_label=Aktiveer AWstats-rapportering?
feat_label2=AWstats berig
feat_edepweb=AWstats-rapportering kan nie sonder 'n Apache-webwerf vir 'n bediener geaktiveer word nie
feat_clash=AWstats-rapportering is reeds vir hierdie domein aangeskakel
feat_setup=Stel verslag oor AWstats in ..
feat_edepunix=AWstats-rapportering kan nie vir 'n bediener sonder 'n Unix-gebruiker geaktiveer word nie
feat_edepdir=AWstats-rapportering kan nie vir 'n bediener sonder 'n tuisgids geaktiveer word nie
feat_modify=Dateer naam op in AWstats-konfigurasie ..
feat_modifyuser=Gebruiker word opgedateer om AWstats-verslag as ..
feat_modifypass=Dateer wagwoord op vir AWstats ..
feat_modifyhome=Opdatering van die tuisgids in AWstats-opstelling ..
feat_modifylog=Dateer loglêer op in AWstats-opstelling ..
feat_delete=Vee AWstats-konfigurasielêer en Cron-taak uit ..
feat_backup=Rugsteun van AWstats-konfigurasielêer ..
feat_name=AWStats berig
feat_losing=Geplande AWStats-rapportering sal gedeaktiveer word, en die opstelling daarvan word uitgevee
feat_disname=AWStats berig
feat_label=Aktiveer AWStats-rapportering?
feat_label2=AWStats berig
feat_edepweb=AWStats-rapportering kan nie sonder 'n Apache-webwerf vir 'n bediener geaktiveer word nie
feat_clash=AWStats-rapportering is reeds vir hierdie domein aangeskakel
feat_setup=Stel verslag oor AWStats in ..
feat_edepunix=AWStats-rapportering kan nie vir 'n bediener sonder 'n Unix-gebruiker geaktiveer word nie
feat_edepdir=AWStats-rapportering kan nie vir 'n bediener sonder 'n tuisgids geaktiveer word nie
feat_modify=Dateer naam op in AWStats-konfigurasie ..
feat_modifyuser=Gebruiker word opgedateer om AWStats-verslag as ..
feat_modifypass=Dateer wagwoord op vir AWStats ..
feat_modifyhome=Opdatering van die tuisgids in AWStats-opstelling ..
feat_modifylog=Dateer loglêer op in AWStats-opstelling ..
feat_delete=Vee AWStats-konfigurasielêer en Cron-taak uit ..
feat_backup=Rugsteun van AWStats-konfigurasielêer ..
feat_nofile=.. geen konfigurasielêer gevind nie!
feat_restore=Herstel AWstats-konfigurasielêer ..
feat_restore=Herstel AWStats-konfigurasielêer ..
feat_nocopy=.. kopie misluk!
feat_backup_name=AWstats-konfigurasielêer
feat_evalidate=AWstats-konfigurasielêer $1 bestaan nie
feat_evalidatedir=AWstats-datagids $1 bestaan nie
feat_evalidatecron=AWstats Cron-baan is nie gevind nie
feat_evalidateprog=AWstats-program $1 bestaan nie
feat_evalidatever=Die AWstats-program op $1 van die stelsel is nie dieselfde as die kopie van die domein op $2 nie. U moet die AWstats-funksie deaktiveer en heraktiveer om dit te sinchroniseer
feat_passwd=Stel wagwoordbeskerming op vir AWstats ..
feat_dpasswd=Wagwoordbeskerming vir AWstats verwyder
feat_setupalias=Stel AWstats in $1 op.
feat_deletealias=Verwyder konfigurasie vir AWstats in $1.
feat_module=AWstats Reporting (vir die lees van verslae)
feat_backup_name=AWStats-konfigurasielêer
feat_evalidate=AWStats-konfigurasielêer $1 bestaan nie
feat_evalidatedir=AWStats-datagids $1 bestaan nie
feat_evalidatecron=AWStats Cron-baan is nie gevind nie
feat_evalidateprog=AWStats-program $1 bestaan nie
feat_evalidatever=Die AWStats-program op $1 van die stelsel is nie dieselfde as die kopie van die domein op $2 nie. U moet die AWStats-funksie deaktiveer en heraktiveer om dit te sinchroniseer
feat_passwd=Stel wagwoordbeskerming op vir AWStats ..
feat_dpasswd=Wagwoordbeskerming vir AWStats verwyder
feat_setupalias=Stel AWStats in $1 op.
feat_deletealias=Verwyder konfigurasie vir AWStats in $1.
feat_module=AWStats Reporting (vir die lees van verslae)

links_link=AWstats-verslag
links_view=AWstats-verslag
links_config=AWstats-konfigurasie
links_link=AWStats-verslag
links_view=AWStats-verslag
links_config=AWStats-konfigurasie

tmpl_passwd=AWstats-webblad met wagwoordbeskerming?
tmpl_passwd=AWStats-webblad met wagwoordbeskerming?

config_title=Stel AWstats op
config_header=AWstats-opstellingsopsies
config_title=Stel AWStats op
config_header=AWStats-opstellingsopsies
config_dnslookup=Soek IP-adresse in logboeke?
config_dnslookup0=nooit
config_dnslookup1=altyd
Expand Down
Loading

0 comments on commit 88b4bf3

Please sign in to comment.