Hints and tips

If you have any question related to w3perl, you can choose between :
  1. ask me email
  2. see the FAQ file
  3. post a message in the forum


Installation :

  • See the upgrade file if you want to install a more recent version
  • Use the adminstration interface to build your configuration file (will avoid typo)
  • Choose carefully your configuration option.
  • Run the package on a small logfile to check everything is right
  • If you run accidentally some scripts several time, don't worry, it won't produce bad values but rather a warning message !

Configuration :

  • if you are running virtual web servers, install the package only once, then build one config-<web>.pl files afor each virtual servers nd call scripts via the -c flag to load them.
  • if you don't want to log your user, use @exclurepert = ('/~');
  • You can use regex expression, for example, if you don't want to log users from a provider, use @nolog = ('/ppp*.club-internet.fr/');
    (people from club-internet have an dynamic IP like ppp<string>.club-internet.fr
  • Don't use @selecrepert = ('/'); ! It should be directories in the same depth level
  • If you have a large logfile and want to scan only few days, use option available in cron-pages.pl. You can choose starting and ending days.
  • Use the -h flag for list of available options.
  • If your logfile is updated only few times a day (and not in real time as most do), the best time to run cron-inc is just before midnight.
  • You are advised to launch the master script cron-w3perl.pl to compute all stats. To initiate use the -a flag (or to reset everything) or the -e flag to use the incremental mode.
  • Disable reverse DNS if you want to compute stats faster.