![]() |
FAQ |
Questions |
|
Answers |
This image is located in $drawstat variable , the file is /resources/stats.gif, you'll need to put your image with this name in /resources/. Take care about the width and height attributes, you may also need to change them in libw3perl.pl if your image have a different size.
Something is missing....make sure you have fly somewhere in your system. Check also the path for Fly in your config.pl file.
Everything is located in the /resources/lang/ directory. Copy the uk.pl to another file to replace the second part of each line with your own words. When everything have been done, contact me to include your work in the next release.
In the administration interface, you can choose to use a background image file. There are
three way to fill the field :
Of course you can. You just need one separate configuration file for each of your server. W3Perl will load your configuration file and save data for each server according to your configuration choices. W3Perl need to be installed only once.
No, part of the package need to be located in your webserver tree. This include HTML files for documentation or graphics files.
You'll need to use the 'provider' installation. First ask your provider if you have a cgi-bin directory (are you allowed to launch scripts ?), where are located the logfiles (access to data), where is Perl (is Perl installed ?) and your server path (where your server have been installed).
Use the administration interface. If you find something unclear, ask me and I'll add more help.
I'm sorry but I can't do that due to the lack of spare time. If you have any trouble, feel free to contact me, I will help you as much as I can.
Yes, no problem but not easy.. First, you'll need to download the Unix package instead of the Windows package. The later need to find a webserver to install. Then forget about the administration interface which is build around cgi (and which need a server to run). Uncompress and untar the package where you want. Edit the fixperlpath.pl script to modify the $pathw3perl path (forget other path) and run it. Of course you need to have install ActivePerl ! Second, find the config-iis.pl configuration file inside the config directory and modify it with your own windows paths. Then run cron-pages.pl -c config-iis.pl to init the stats followed by the others scripts. (if you use Reverse DNS, your computer should be connected to Internet to make request to a DNS server)
It means you can't use cgi on your server. In order to be able to use them, edit your httpd.conf and add these two lines 'Order allow,deny' followed by 'allow from all' in the <Directory /var/www/cgi-bin> directive.
The latest Fly is based on the latest gd1.8 which don't have anymore support for GIF output. Fly 1.6.5 is the latest package which support GIF output.
Good idea ;) You'll need to modify your configuration file. Just specify ECLF instead of CLF !
Squid store referer and agent logfile in separate files. So you'll need to modify your configuration file in order to give W3Perl the location of these files. That's all you need to modify. The main stats will still parse your logfile as ECLF but will ignore the missing data.
Well, I need documentation for those logfiles. If you want I add support for Webstar or any other FTP server, please, send me logfile format and few examples.
The httpd log file should be readable by users (but not writeable of course !). Ask nicely your admistrator system to rectify this. A 'chmod 644' on the log file is enough to run W3Perl.
The output directory should be writeable by the server, and usually
the user which run the server have the fewer privilege. Create the
output directory manually and change the permission owner to able your
server to write in.
There are missing country codes in the file "pays-conv" (found in the resources directory). Mail me about the missing country code and I'll fix this.
* You should first scan your local domain ($locallog = 1).
Well, two possibilities : nobody use your server from your local domain or maybe you have made a mistake in the $localserver variable. Check this.
* Check your $tri variable. It should be "/" if you want to scan all
your log file or a subdirectory to scan only a part of your log file. Perhaps
you try to scan the logfile with a directory you don't have in your server.
Are your directories writeable ? Have you selected one language ouput in @lang ?
Check your configuration file. Avoid to use the reverse dns option as each lines of your logfile could take seconds to proceed ! If you have large logfile, use a precision level lower (from 4 to 3). You can also compress your logfile to speed up computation.
Use cron-page.pl -s <date1> -r <date2> where date1 and date2 have the following syntax : <day>-<month>-<year>
(day, month and year are two digits number).
Use cron-day.pl with the -d flag. Specify the number of days you want to get back in past.
In your configuration file, your should add in the @nolog variable, the name of the countries you want to exclude. (@nolog = ('.fr') to exclude french accesses)
First you should see them in the 'filetype' area. If you need in fact to treat jsp file
as html files, add 'jsp' in @extension (eg : @extension = ('html','jsp');)
If you want to run the stats from the web interface, the server should be allow to make the stats directory you have defined in your configuration file. Usually a web server have very limited permission (security) so most of the time, it won't be allow to create a directory. You'll need to manually do the job and set permission to 777 to allow the server to write in.
Edit the libw3perl.pl file and look for the robot section. You'll just need to add a new entry in the form :
The session stats are based on html pages rather than hits, this is something more accurate and more reliable than hits accesses. In facts, session are based on the filetype you put in your @extension inside your configuration file. So if you need, let's say, session only about mp3 files, just add this filetype in @extension. But if no requested filetypes are found in the logfile, the script will report an 'no session found'. So be sure also your requested files have right status code and have not been rejected by your server.
Just add the php extension in @extension.
You'll have to add a small piece of javascript in your most popular HTML pages. The script is located in the resources/js/ and named misctstats.js. You'll have to create a js directory on your server root and put this script inside. Then add the two lines found in the script comments in some of your HTML pages (basically homepage). The location of the miscstats.js can be changed but you'll need to change also the links in these two lines.
The latest W3Perl is able to retrieve remote log files if they are available from http or ftp.
So the best way is to retrieve your log files locally and run W3Perl
on your own computer. Look inside the tools directory. There are
scripts to retrieve log files from a provider and the running the stats.
Latest blacklist files can be retrieve from this ReferrerCop
Yes. You need to have a IIS running and ActivePerl installed in order to install W3Perl.
If your server send you the following message : " The specified CGI application misbehaved by not returning a complete set of HTTP headers", most likely you have used '\' instead of '/' for the path in your configuration file. Backslashes are special characters in Perl and ActivePerl can cope with unix pathname so use forward slashes '/' instead.
Use the web administration interface and select the 'modify configuration' section. Then change the default W3C logfile format to Microsoft. Submit the forms until the last page to save the modified configuration file. You are then ready to launch the stats.
|
![]() |