![]() ![]() ![]() Perl tools/awstats_ -dir=stats -output=pagetype -config=brand -awstatsprog=wwwroot/cgi-bin/awstats. Perl tools/awstats_ -configdir=wwwroot/cgi-bin -awstatsprog=wwwroot/cgi-bin/ now My generation script looks like this: rm stats/*.txtĬat access_log | grep brand > brand_access_log The only output I get from awstats is from the Monthly History section. Contrariwise, if the user needs specific reports, then the usage of with the option -output should be.![]() This script produces all the pages, like your script, but also can produce pdf files for the reports. Revision: 1.44 - Author: eldy - Date: 7 09:22:48 1 use warnings Must be used in test mode only. This describes how to produce the static HTML pages by using the included Perl script. See COPYING.TXT file about AWStats GNU General Public License. LogFormat="\"%host_r\" %host %logname %logname %time1 %methodurl %code %bytesd %refererquot %uaquot" Launch awstats with -staticlinks option to build all static pages. A quick fix is to comment out every instance of the above code in every index.php of every site. awstats will use the LogFormat directive from your nf file and replace it with the awstats identifiers. When the day was 2 the stats appeared normal. It started with some ideas from this post and I also gleaned some useful ideas from this help item. 1 Answer Sorted by: 3 I didnt realize I could just cut and paste the Apache LogFormat directive (with an sign) and it would work, I thought I was forced to use awstats. ActivePerl 5.8 installs using a standard MSI installation. aijohn Msg:893591 5:31 pm on (gmt 0) I have installed awstats and have got the single page for the month to show in the browser now trying to get the detail pages with and getting this sh: line 1. I recommend ActivePerl 5.8, which you can download from for free. We wanted to generate pages for all months we had history. To install AWStats on Windows, you need to download a Perl interpreter (if you donât already have one) and the AWStats software (scripts). I'm trying to analyze these with awstats with the following Logformat in my awstats config file: AWStats comes with a utility called to generate static pages, but it only does the most recent monthâs data by default. NET CLR )"Ä¡0 items in the log format, 10 items in the log. I have a custom log file format in Apache like so: "\"%i\""Ī line from my log file looks like this: "" 176.32.1.18 - "GET /Product/lookup HTTP/1.1" 200 5585 "" "Mozilla/4.0 (compatible MSIE 7.0 Windows NT 5.1 InfoPath.1. Since the file can be so huge, I have a script that greps out each subdomain into its own file. System($awstats_build) # || die âError invoking âawstats_buildstaticpages.I have a site with several subdomains, all subdomains are logged to the same access_log file. So in order to all statistic files could be formed, you must determine (or uncomment default) values for options in awstats config file. I believe the path to the cronjob is not set correctly. ![]() $domain_name = -config=$domain_name" create dest directory and all its parents ⦠It seems that script doesn't replace Show config options with its default values. System("$root/virtualmin-awstats/", # || die âFailed to run $root/virtualmin-awstats/ : $!â
0 Comments
Leave a Reply. |