[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] web stats
- Subject: Re: [cobalt-users] web stats
- From: "Daniel Ouellet" <daniel@xxxxxxxxxxx>
- Date: Wed Dec 22 13:12:29 1999
Very interresting. Many thanks for the information.
Can this also be use with MySQL!? Log and stats display.
Daniel
Original-From: Tom Socha <tom@xxxxxxxxxxxxxxxx>
Original-Reply-To: cobalt-users@xxxxxxxxxxxxxxx
Original-Date: Wed, 22 Dec 1999 13:55:25 -0700 (MST)
Here is what I did for the users sites.
1. Create a directory called stats or whatever on a clients site. So mine
is: /home/sites/site5/web/stats
or whatever the site name is.
2. Copy the file webalizer.conf into that directory. Go into the file and
change the lines:
LogFile /home/sites/www.whateversitethisis.com/logs/access
OutputDir /home/sites/www.whateversitethisis.com/web/stats
ReportTitle Usage Stats for Jo Mama's Site (or whatever)
HostName jomama.com
HideSite www.jomama.com
HideReferrer www.jomama.com/
3. Then go to /etc/cron.daily/ and create a file called
webalizer.jomama.cron
(or whatever your want to call your cron file.)
In that file you will have this command:
/usr/local/bin/webalizer -Q -c /home/sites/site7/web/stats/webalizer.conf
-o /home/sites/site7/web/stats/
(replace the site7 with your clients site number)
Then to make sure everything is working, run this command as root from the
shell (the command you just put into the cron file.)
What happens is is everything was created correctly, you can go to
www.jomama.com/stats and see a full webalizer report. If you are needing
stats more then daily, just put the cron in one of the other directories
such as cron.hourly, cron.half-hourly.
You may also want to password protect the stats directory. To do this,
1. Create a file in the stats directory called .htaccess, here is the
code:
order allow,deny
allow from all
require valid-user
Authname JoMamas-Stats
p.s. even though jomama.com is taken, jomama.net is avilable!
Tom Socha
Technical Services
MoJo Graphics
http://www.mojographics.com
Ð0D
On Wed, 22 Dec 1999, Rob Rivas wrote:
> so if i install these packages, then they would only
> work for my site and not my users?
>
> Rob
>
>
> --- Steven Werby <steven@xxxxxxxxxxxx> wrote:
> > Brian Case <bcsurfer@xxxxxxxxxxxx> wrote:
> > > What does their base service do? I see it is a DNS
> > service, but do you
> > know the
> > > details?
> >
> > As far as I know, the base service just sets up the
> > DNS Telecom GUI, adds a
> > line to srm.conf so you can access the GUI at
> > http://yourserver.com/dnstelecom, and sets up the
> > GUI with a link to the
> > main Cobalt GUI and links for any modules you
> > install. By itself I think it
> > has no use.
> >
> > Jeff Lasman <jblists@xxxxxxxxxxxxx> wrote:
> > > You noted download of the FRENCH version of the
> > webalizer package. Is
> > > there an english version? Will the webalizer
> > screens be in english?
> >
> > My webalizer screens are in English and so is all
> > the documentation. The
> > last hyperlink listed for each module has the
> > documentation for the pkg file
> > in English if I remember correctly. I installed the
> > DNS Telecom GUI and
> > Webalizer package in August and still have the .pkg
> > files on my pc so if the
> > versions on their site aren't in English email me
> > off-list and I'll arrange
> > to get you the English versions. They're only
> > around 100k each.
> >
> > One last note. The webalizer stats are only
> > accessible via the GUI, which
> > requires your admin login and pwd. If you want to
> > make the stats available
> > to your users, you might be able to modify the
> > .htaccess file or run a cron
> > job to copy the DNS Telecom files for a given domain
> > to
> > /home/sites/site#/web/. I've meant to do that, but
> > haven't gotten around to
> > it.
> >
> > Steven {steven@xxxxxxxxxxxx}
> >
> >
> > _______________________________________________
> > cobalt-users mailing list
> > cobalt-users@xxxxxxxxxxxxxxx
> > http://list.cobalt.com/mailman/listinfo/cobalt-users
> >
>
> __________________________________________________
> Do You Yahoo!?
> Thousands of Stores. Millions of Products. All in one place.
> Yahoo! Shopping: http://shopping.yahoo.com
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>
_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-users