Groups > Novell > Perl for NetWare > Re: The best way to use Awstats on netware 6.5




The best way to use Awstats on netware 6.5

The best way to use Awstats on netware 6.5
Thu, 30 Mar 2006 19:05:32 GMT
Hi guys

Well, I'm toying around with perl today, so I wanted awstats to run 
properly on the netware box also.
I've just copied the awstats dir to sys, and then I've moved the 'lib', 
'lang' and plugins as well as awstats.pl to the sys:/awstats dir, to 
save a bit on the commandline :-)
I've created a config file in etc/awstats.

If I invoke these commands:
load address space=awstats2 perl sys:/awstats/wwwroot/cgi-bin/awstats.pl 
-config=site -output -staticlinks > 
web:/statistik/test/awstats.site.html --autodestroy

I can also make an ncf files that goes through the different outpages.
But I can't make the awstats_buildstaticpages.pl script work, it goes 
through the pages, but they are all 0 bytes in size?

-- 
/Fribse

Barry (Sysop): "Then again, I'm a single CPU fan..."
Bob (Trafficshaper): "You can get a job cooling CPUs?   Does it pay 
well?"
Post Reply
Re: The best way to use Awstats on netware 6.5
Thu, 13 Apr 2006 08:02:23 GMT
In article <MPG.1e964a338007f013989699@support-forums.novell.com>, 
fribse2004@yahoo.dk says...
> Hi guys
> 
> Well, I'm toying around with perl today, so I wanted awstats to run 
> properly on the netware box also.
> I've just copied the awstats dir to sys, and then I've moved the 'lib', 
> 'lang' and plugins as well as awstats.pl to the sys:/awstats dir, to 
> save a bit on the commandline :-)
> I've created a config file in etc/awstats.
> 
> If I invoke these commands:
> load address space=awstats2 perl sys:/awstats/wwwroot/cgi-bin/awstats.pl 
> -config=site -output -staticlinks > 
> web:/statistik/test/awstats.site.html --autodestroy
> 
> I can also make an ncf files that goes through the different outpages.
> But I can't make the awstats_buildstaticpages.pl script work, it goes 
> through the pages, but they are all 0 bytes in size?

Hi Guys

Well, I found out that the 'buildstaticpages' ran awstats.pl as an NLM, 
ie. it didn't have the 'perl ' in front of it.
I'm not sure how to accomplish this correctly, as I'm not a perl 
programmer.
Do you have any ideas?

Alternatively I've built my own .ncf files that does all the 
staticpages, but how do I make it run the perl scripts sequentially?

-- 
/Fribse

Barry (Sysop): "Then again, I'm a single CPU fan..."
Bob (Trafficshaper): "You can get a job cooling CPUs?   Does it pay 
well?"
Post Reply
about | contact