Hints and tips

If you have any question related to w3perl, you can choose between :
  1. ask me
  2. see the FAQ file
  3. subscribe to the w3perl mailing list and ask there


Installation :

  • See the upgrade file if you want to install a more recent version
  • Choose carefully your configuration option.
  • Run the package on a small logfile to verify all 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 :

  • There are some configuration files for mac and risc-os available in /doc/conf/
  • if you are running virtual web servers, install the package only once, make as much as you need config-.pl files and call the 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 only want to scan few days before, use option available in cron-pages.pl. You can choose starting and ending days.
  • Don't forget cron-xxx.pl -h for list of available options.
  • If your logfile is updated only few time a day (and not in real time as most do), the best time to run cron-inc is just before midnight.
  • Unix users are advised to launch cron-w3perl.pl -u to compute stats for initialisation.

back