Info about Stats.pl:
This program is a statistics generator for OmniHTTPd. It is meant as a cumulative statistics generator. It is meant for the hobbyist who is currious about the usage of their server. This by no means a comprehensive stats program and is not meant to be anything more than an interesting diversion from oridinary webmaster life. If you want something more, go buy it. :)
A long log file amy take a long time to process online so you may want to limit online access to a shortend version of the log file if it get's to be so big you think it takes too many resources to be online.
Here's a quick and dirty setup guide to running stats.pl on your web server.
Run the configuration HTML file (http://yoursite.com/statsconfig.shtml) and enter the appropriate variables.
If successful, the config script will give you a button to test it out on (see below for code to paste on other pages).
To access it from the web, do the following:
<FORM action="/cgi-bin/stats.pl" METHOD="POST">
<INPUT type="submit" Value="Run Stats">
<A HREF="/cgi-bin/stats.pl">Run Stats</A>
The first code will produce a button on the page and the second just a link. You can also use "/cgi-bin/stats.pl?#" to produce results for the last # entries.
C:\perl\perl.exe stats.pl [arguments]
Where C:\perl\perl.exe is the location of your perl interpreter.
|"nohtml"||Produces the output without any HTML tags. Handy for simple readings.|
|#||Will produce statistics for the last # of entries. For example, if I were to say:
C:\perl\perl stats.pl nohtml 25
It would generate stats for the last 25 log entries and output it without HTML tags.
|"debug"||This turns on extra debugging info at the bottom of each output.|
|"today"||Creates results for only items served on the current date.|
|"listlog:password"||Provides a direct listing of the log over the web. Ex:
Where password is the password you assign in the script.
Order of these tags is not important but if more than 1 number is specified, only the last one will be used.
Now since you didn't pay for this, I don't have a toll-free technical support line to help you (Not that Microsoft has one mind you) but I will try to help you out if I can. Keep in mind that I am a student as well and as much as I would like computer time to come first, it can't always. Also, any suggestions are welcome. My current email is email@example.com.
If you want to make any changes to the script feel free. The main body of the code is in the file stats.prg which should have been put in your cgi-bin directory. This file is basicaly dumped into the script after the variables when the user runs the config script so put your changes in there. Mind you I code messy and will clean it up and add comments eventually. No, I don't know when. If you have made any good changes to the script and would like to include them in stats.pl for all to use, send them to me and I will incorporate them into a future release. You will, of course, get credit. :)
I will dedicate a page on my server for a while to it. Check it for updates:
Ver 3.0 beta 2
I have removed this section due to the explanations on the config script HTML page.
Now I know that this part sucks but I have to do it.
|Since the Software is provided free of charge, Omnicron Technologies Corporation and Joseph Downs (the "software providers") shall not be held responsible for any damages arising from the use of the Software. The Software is provided on an AS IS basis, without warranty of any kind, including without limitation the warranties of merchantability, fitness for a particular purpose and non-infringement. The entire risk as to the quality and performance of the Software is borne by you. Should the Software prove defective, you and not the software providers, assume the entire cost of any service and repair.|