[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: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Sun Feb 24 14:30:11 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
"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/