X7ROOT File Manager
Current Path:
/usr/libexec/webmin/virtualmin-awstats
usr
/
libexec
/
webmin
/
virtualmin-awstats
/
📁
..
📄
CHANGELOG
(2.11 KB)
📄
LICENSE
(34.32 KB)
📄
README.md
(1.59 KB)
📄
awstats.pl
(962 B)
📄
cgi_args.pl
(469 B)
📄
config
(116 B)
📄
config-debian-linux
(199 B)
📄
config-freebsd
(137 B)
📄
config-mandrake-linux-10.0-*
(106 B)
📄
config-redhat-linux-10.0-*
(208 B)
📄
config-suse-linux-9.3-*
(116 B)
📄
config.cgi
(4.2 KB)
📄
config.info
(642 B)
📄
config.info.nl
(713 B)
📄
config.info.no
(655 B)
📄
config.info.tr
(642 B)
📄
config_save.cgi
(2.14 KB)
📄
defaultacl
(48 B)
📄
edit.cgi
(3.5 KB)
📄
generate.cgi
(1.28 KB)
📁
help
📄
icon.cgi
(533 B)
📁
images
📄
index.cgi
(1.61 KB)
📄
install-type
(4 B)
📁
lang
📄
module.info
(123 B)
📄
module.info.af.auto
(30 B)
📄
module.info.ar.auto
(29 B)
📄
module.info.be.auto
(26 B)
📄
module.info.bg.auto
(26 B)
📄
module.info.ca.auto
(25 B)
📄
module.info.cs.auto
(26 B)
📄
module.info.da.auto
(29 B)
📄
module.info.de
(28 B)
📄
module.info.el.auto
(31 B)
📄
module.info.es.auto
(28 B)
📄
module.info.eu.auto
(32 B)
📄
module.info.fa.auto
(27 B)
📄
module.info.fi.auto
(28 B)
📄
module.info.fr.auto
(25 B)
📄
module.info.he.auto
(27 B)
📄
module.info.hr.auto
(26 B)
📄
module.info.hu.auto
(29 B)
📄
module.info.it.auto
(26 B)
📄
module.info.ja.auto
(28 B)
📄
module.info.ko.auto
(22 B)
📄
module.info.lt.auto
(42 B)
📄
module.info.lv.auto
(26 B)
📄
module.info.ms.auto
(26 B)
📄
module.info.mt.auto
(29 B)
📄
module.info.nl
(27 B)
📄
module.info.no
(29 B)
📄
module.info.pl.auto
(29 B)
📄
module.info.pt.auto
(30 B)
📄
module.info.pt_BR.auto
(33 B)
📄
module.info.ro.auto
(27 B)
📄
module.info.ru.auto
(29 B)
📄
module.info.sk.auto
(26 B)
📄
module.info.sl.auto
(27 B)
📄
module.info.sv.auto
(29 B)
📄
module.info.th.auto
(44 B)
📄
module.info.tr.auto
(29 B)
📄
module.info.uk.auto
(26 B)
📄
module.info.ur.auto
(31 B)
📄
module.info.vi.auto
(26 B)
📄
module.info.zh.auto
(22 B)
📄
module.info.zh_TW.auto
(25 B)
📁
newfeatures
📄
run-all-awstats.pl
(748 B)
📄
save.cgi
(3.48 KB)
📁
tmp
📄
view.cgi
(1.25 KB)
📄
virtual_feature.pl
(22.55 KB)
📄
virtualmin-awstats-lib.pl
(13.77 KB)
Editing: awstats.pl
#!/usr/bin/perl # Refresh the AWStats report, from a cron job use strict; use warnings; our $no_acl_check++; require './virtualmin-awstats-lib.pl'; my $debug; my $output; if ($ARGV[0] eq "--debug") { # Enable debug mode, which shows the output from the report command shift(@ARGV); $debug = 1; } if ($ARGV[0] eq "--output") { # Write a static HTML report to the given directory shift(@ARGV); $output = shift(@ARGV); -d $output || die "Missing directory $output"; } @ARGV == 1 || die "usage: awstats.pl [--debug] [--output dir] <domainname>"; my $dname = shift(@ARGV); my $cfile = &get_config_file($dname); my $wwwcfile = &get_config_file("www.".$dname); if (!-l $wwwcfile) { &unlink_logged($wwwcfile); &symlink_logged($cfile, $wwwcfile); } if ($debug) { &generate_report($dname, *STDERR, 0); } else { open(my $NULL, ">", "/dev/null"); &generate_report($dname, $NULL, 0); close($NULL); } if ($output) { &generate_html($dname, $output); }
Upload File
Create Folder