Mike J - 2013-04-17

If I run

perl awstats.pl -config=mysite -output -staticlinks > awstats.mysite.html

that works and the HTML looks good.

If I run

perl awstats.pl -config=mysite -output=alldomains -staticlinks > awstats.mysite.alldomains.html

that works like it should too.

When I run

perl awstats_buildstaticpages.pl -config=mysite -awstatsprog="."

the command executes but all 21 resulting HTML pages give me this error

sh: line0: .:-c: invalid option .: usage: .filename [arguments]

I can run single commands successfully but the batch command gives me error pages. What am I doing wrong?