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

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.

This all sounds like a manual operation...I would be interested to know how to do this using the V2.01 .pkg from sorceforge for the RaQ4.
--

-
   James Dean Young
  www.sundream.com
   jd@xxxxxxxxxxxx

"Sometimes you get shown the light, in the strangest of places if you look at it right"
   - Robert Hunter