[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Siteadmin at Raq3



Jeff Lasman <jblists@xxxxxxxxxxxxx> wrote:
> As I've already mentioned, Khalid has come up with a good answer (with my
> addition of the change to the /etc/group file).  Now I only need to find a
> program (Webalizer?) that'll produce stats and let a non-admin user see
> them.  If I can't, then I might have to follow your advice.

Jeff, the Webalizer package is free and it has more features than the
Cobalt's built in stats package.  Plus there is a Cobalt package file for it
by Dns Telecom at
http://www.dnstelecom.fr/Produits/Cobalt/Modules/Modules.en.html.

The way I configured it (which I believe is the default config.) integrates
it with the Cobalt GUI, but requires the admin login to view the virtual
site stats.  I am positive this can be changed in the config., but I wasn't
offering the Webalizer stats to my clients until recently and I like having
my own copy of the files.  So I hacked a bash script that copies a virtual
site's Webalizer files to a directory off the virtual site, fixes some of
the HTML code and adds an optional .htaccess file.  I run it from my root's
crontab nightly from a file with lines like:

. update.webalizer.sh siteX host.domain username

If this might be useful to you email me off-list.  BTW, it uses a search and
replace util called rpl that I got from
http://www.laffeycomputer.com/rpl.html.  If anyone knows of a better util,
let me know.

Steven {steven@xxxxxxxxxxxx}