Notice:

This is a script I wrote quite a while ago. It is not supported, but I left it here in case it might be useful to someone.

Please visit http://www.mattkruse.com/ for my updated web site and to find some of the things I've done more recently. Hopefully you will find something useful, or at least mildly interesting!

Access Script



Most people want to see who access their pages and how often, of course. Programs like wwwstat and getstats give good information, but getting them to run is a hassle and most people don't want to bother.

That's why I wrote this script. It lets you quickly and easily analyze the accesses to your site by any keyword. You put in a word, and it totals up all accesses that contain that word. And the best part is, you can set this up as a general page that everyone on your site can use.

You can see an example of the output and the source code below. It was written to analyze the accesses to the access_log of NCSA httpd 1.4 on linux, so getting it to run on other machines will definitely take some changes.

Sample Output

This will show you what the output looks like when you run the script.

Source Code

Here is the source code. This perl script is free and you can take it if you want.