[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Custom Webalizer.conf file
- Subject: RE: [cobalt-users] Custom Webalizer.conf file
- From: "Ian" <ian@xxxxxxxxxxxxxxxxxxxx>
- Date: Sun Feb 24 15:14:01 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Thanks for that Steve,
I want it to run itself using cron each night as it does currently...
As I understand it I need to create .conf files for each virtual site and
place these somewhere and do something so that it gets used each night, but
where and how is my problem lol
Ian (aka Mac)
-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Steve Werby
Sent: 24 February 2002 22:21
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-users] Custom Webalizer.conf file
"Ian" <ian@xxxxxxxxxxxxxxxxxxxx> wrote:
> I am using v2 of webalizer and have read through the documentation for it,
> but have a direct question concerning what is called "current directory"
> when it looks for the conf files for each virtual site.
>
> Where is the the current directoy?
Ian (Mac?), it's whatever directory you are in when you are running the
webalizer script. Typed "pwd" to find out the current directory. If you're
running webalizer from a script (either manually or in a cron job) change to
the proper directory before running the webalizer program. "cd
/path_to/whatever" to change the current directory.
> i.e. if I have 3 virtual sites under
> domain1.com, domain2.com and domain3.com and I wish that domain1.com and
> domain3.com to use the default conf file found within /etc/webalizer.conf,
> but want domain2.com to use a customised webalizer.conf, where do I place
it
> "current directory"? Is it in the logs directory for the site maybe?
Put it wherever you want. Just make sure you "cd /path_to/whatever" first,
with that directory being the directory containing the webalizer.conf file
for the site. You can put them in the logs directory, the site parent
directory or anywhere else. Alternately, you can specify the location of
the configuration file using the "-c" flag from the webalizer program. "man
webalizer" or "webalizer --help" for more details.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users