Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Apache - Access Log parsing in php?
lech
✭
Long story short, no cgi-bin, so I'm looking for a decent stats package which can parse through several megs of apache access and maybe even error logs for one if not all of my domains in the form of a nice php package. I've been searching through sourceforge, google and nearly everywhere in between for the (keyword, pay attention) free open-source php based parser/reporter. Needless to say what I found was either a whole lot of nothing, a bunch of unconvincing alpha-ware or just general code classes to build my own, and I am tempted to at this point if it comes down to it.
So besides the general mint/shortstats/slimstats type of packages, what out there do any of you know coded in php can do apache access logs? Suggestions or am to be convinced a project like this doesn't exist in php? Speed isn't a concern, parsing is. :)
Discuss.
0
This discussion has been closed.
Comments
*puts his thinking cap on.
The best tutorial I have read have been the one from dotvoid.com.
Basically, to adapt this tutorial and create static html pages of your stats you will use awstats_buildstaticpages.pl instead of awstats.pl like this:
awstats_buildstaticpages.pl -update -config="www.mysite.com" -awstatsprog="/path/to/awstats.pl" -dir="/var/www/awstats"
and take off in httpd.conf:
"ScriptAlias /awstats "/var/www/awstats/"
and add in the directive for /var/www/awstats/,
"DirectoryIndex awstats.www.mysite.com.html index.html"
I suspect for someone slightly more experienced it wouldnt take a huge amount of time.
A nice php stats thing would be nice but I've never had the need to go looking for one to be honest.
Is it a known bug?
Could you have close it for me?
Maybe i'll find an easy extension to write for vanilla again and try and get my head round it.
I also want to learn some basic c++ so i can write a control app for my projector blind and other stuff which should be near impossible (for me).