Web Hosting Talk







View Full Version : Webalizer and RaQ4


vels
06-23-2001, 09:53 AM
Hi

I want to install Webalizer on my RaQ4.

I have read about Webalizer in the forum…. How do I easiest install Webalizer with out damage my RaQ?

Juan
06-23-2001, 06:28 PM
Download the pkg file from http://pkg.nl.cobalt.com (http://pkg.nl.cobalt.com/i386/webalizer-1.3.pkg) and browse to the file in the window install software under maintainance.

Good luck, it's easy. I've done it millions of times.

highlander
06-24-2001, 03:29 AM
I installed Webalizer 2.1 using this package http://cobalt-aid.sourceforge.net/files/Features/Intel/Webalizer2.pkg

You automatically get stats for each new domain in the format domain.ext/~stats and it requires a valid user too.

Robert

vels
06-24-2001, 02:09 PM
Now have I installed

http://cobalt-aid.sourceforge.net/files/Features/Intel/Webalizer2.pkg

But how do I use it..?

I have tryed domain.com/~stats
but that does not work....

Should I edit some files or...?

highlander
06-24-2001, 02:15 PM
Webalizer should now run for you just after 4.00am each day, you just need to wait until tomorrow.

Robert

Mike the newbie
06-24-2001, 02:47 PM
Originally posted by vels
Now have I installed

http://cobalt-aid.sourceforge.net/files/Features/Intel/Webalizer2.pkg

But how do I use it..?

I have tryed domain.com/~stats
but that does not work....

Should I edit some files or...?

That package does the following:
*installs the webalizer v2.x binary in /usr/bin
*installs perl script webalizer2.pl in /usr/bin
*creates a webalizer.conf in /etc
*installs perl script webalizer.pl in /etc/cron.daily

Each day at 4am or so, cron will run the webalizer.pl script. That script calls webalizer2.pl which creates the directories and user permissions, if needed, then runs webalizer with some command line options. Depending upon the size of your log files, the first run can be lengthy due to the reverse domain name lookups. Subsequent runs go much more quickly because a database is built, and only lookups of new addresses need to be performed.

For the most part, everything should be fine when you check the web stats tomorrow. When you are prompted for a user/password, enter the one for the site admin. If you have enabled SSL for the site, use https instead of http to access the stat page (this will protect your user/password).

Read through /etc/webalizer.conf to see what types of options are available to you, but let it run a couple of nights before you make any big changes. :)

vels
06-26-2001, 05:49 AM
If I only want 2 sites to use Webalizer how do I that..?

Mike the newbie
06-26-2001, 05:39 PM
Originally posted by vels
If I only want 2 sites to use Webalizer how do I that..?

In the webalizer2.pl script, you need to modify how the variable @allsites gets its values. In the original script, it contains an array of all the sites on the web. You need to modify that script to set the value of @allsites to just the two sites you want to generate the reports for.

Here might be a good place to start: http://www.perl.com/pub/v/documentation