Page 1 of 1
Webalizer PHP for serving up Webalizer webstats
Posted: Fri Oct 12, 2007 10:13 am
by hiddenidentity
Hey all,
just put together a simple PHP5 application the other week to serve up password protected Webalizer stats, since I found the default Plesk method of HTTP authenticated pages using the same username/password as that of the FTP login a little limiting for my needs.
http://magnetikonline.com/webalizerphp/
The script basically is a pass though for webalizer pages that are stored outside of your webpaths. In addition the script reformats the HTML 4.01 generated by webalizer to produce lighter XHTML output, which is then styled using CSS.
Look forward to any comments, good or bad.
Posted: Wed Feb 06, 2008 3:07 pm
by Kalimari
It's a little belated, but I only recently discovered webalizerphp. I can't believe there have been no responses to your post.
I think it is a nifty solution to the limitations of Plesk stats access or even just to get the Webalizer pages looking smarter and running cleaner!
The only improvement or addition I would suggest is the inclusion of extended pages for url_*.html, site_*.html, agent_*.html details.
Other than that, spot-on. Did you have any plans to continue updates?
Posted: Sat Feb 09, 2008 8:47 pm
by hiddenidentity
Thanks for the comments - no plans at the moment to upgrade the application.
One idea I did have, for some reason webalizer only links to the last 12 months of stats pages on the home stats page - I thought about possibly reading in all stat months from disk and then displaying the full totals list on the stats homepage - but if/when I get around to this I am not sure..
Just curious, were you able to get the application running for yourself successfully?
Posted: Sun Feb 10, 2008 4:29 am
by Kalimari
Yeah, no problems getting it running. Add the path to webstats dir to the php open_basedir per domain.
Displaying more than the past 12-months on the start page is a must for year-on-year comparisons... Haven't looked under the hood yet, but if I make any mods, I'll pass them back.
Posted: Sun Sep 07, 2008 1:08 pm
by hiddenidentity
Not sure how many people noted this, but Brad decided to put out another Webalizer release in June - I really thought it was the end of the road for Webalizer!
The new release kills quite a few bugs, plus adds GeoIP looks (rather than reverse DNS lookups), flag images for countries the ability to have more than 12 months on the stats index page (finally!) and some minor styling changes.
I have posted a new version of Webalizer PHP - 0.2, which takes into account these changes if anyone is interested @
http://magnetikonline.com/webalizerphp/
For the record, was able to get Webalizer to compile from source on my CentOS 4.5 Plesk 8.1 box, only needed to fetch the libpng headers/etc. and it was all smooth sailing. The binary release didn't seem to play ball...