These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for NGINX and AWStats on the new forum.
This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
I looked on nginx wiki and you could take the script here and use it as a fastcgi-type server for perl scripts. I ALSO know that you can use the perl module in nginx to run perl directly thus probably taking advantage of awstats.
Howdy,
Well, the problem there is that Virtualmin relies on the ability to run awstats.pl for viewing stats -- and Nginx can't run CGI scripts.
There is a workaround that you could setup manually -- there's a way to have Awstats build static pages, rather than dynamically displaying the stats.
There's some details on doing that here:
http://www.bytetouch.com/blog/system-administration/how-to-awstats-insta...
I looked on nginx wiki and you could take the script here and use it as a fastcgi-type server for perl scripts. I ALSO know that you can use the perl module in nginx to run perl directly thus probably taking advantage of awstats.
CGO Link: http://wiki.nginx.org/SimpleCGI
PERL Module: http://wiki.nginx.org/EmbeddedPerlModule