Home > Linux, Webmin > Awstats in Virtualmin

Awstats in Virtualmin

So read this carefully.  If you are trying to setup awstats in Virtualmin, do not do as I do, or as I did rather.  In my attempts to automate the awstats setup for virtual servers in virtualmin, I wrote a script in php that would crawl through Apache’s httd.conf file, extract all ServerNames, and build the awstats config files one by one.  This script would run everytime a new virtual server was created in Virtualmin.  I have to admit it was one of the best scripts I’ve ever written.  The problem?  It was completely unneccessary.  I stumbled across a website to, ready…. DOWNLOAD THE AWSTATS PLUGIN FOR VIRTUALMIN!!  Do not be decieved, there is a plugin for Webmin for awstats, but you really don’t need that one.  The one you need can be found here;

http://www.webmin.com/cgi-bin/search_third.cgi?cat=Virtualmin

Remember, you will need to have awstats installed, with perl working, and your cgi-bin enabled, of course.  But other than that, simply download the file above, un tar it, and use the webmin module installer to install it.  It will then show up under “Features and Plugins” menu under “System Settings” in Virtualmin where it can be further customized.  It will now create Awstats for each virtual server that you create.  If anyone needs any help, just let me know!

 

Author: Curtis Categories: Linux, Webmin Tags: , , ,
  1. No comments yet.
  1. No trackbacks yet.