Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Focus-Linux
[Top] [All Lists]

Re: generalInfo

Subject: Re: generalInfo
Date: Thu, 23 Jun 2005 13:57:44 -0400
Hello everybody,

Because of the fact, that there are so many posts related to the Apache Web
Server, I decided to ask you the following question: J

I'm using Apache on Solaris and I want to make a usage statistics. (Which
files were accessed to day / last moth / last year?) 

Does Apache have any APIs (some kind of performance objects, like the MS Web
server has, so I can easily find those information I need) or do I have to
analyze (parse) the log file?

In the web I've just found the -log-file-parsing-solution advice.



Btw., what visualization tool do you recommend me for making graphs out of
the data I get from the Apache log parsing? (So I can use them in a web
page)



Thanks a lot.

Regards,


Jan Ciesko
Microsoft Student Partner @ FAU - Erlangen
---------------------------------------------------------------------
E-Mail: jan.ciesko@informatik.stud.uni-erlangen.de 

   

I have used both awstats and webalizer. Webalizer is probably more
secure out of the gate, but awstats creates a nicer stats page and can
be used securely. I installed it into /usr/local/ and then created a
script to run via cron job and build a static page twice a day for
checking stats like:
---------------------
#!/bin/bash

perl /usr/local/awstats/awstats.pl -config=<your_domain> -update

perl /usr/local/awstats/awstats.pl -config=<your_domain> -output
-staticlinks > \
       /root/web/stats.html
--------------------

That will build a page (stats.html) in /root/web/ for later viewing. It
was an easy way around the security concerns I have seen when running
awstats CGI.

-Sean


<Prev in Thread] Current Thread [Next in Thread>