Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Multiple Webalizer configs for Apache virtual hosts?

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Next:  Checking Apache information  
Author Message
bollox

External


Since: May 08, 2004
Posts: 3



(Msg. 1) Posted: Sun Jul 11, 2004 11:50 am
Post subject: Multiple Webalizer configs for Apache virtual hosts?
Archived from groups: alt>apache>configuration (more info?)

Apologies if this is the wrong group to ask this - I couldn't find a
specific group for webalizer.

I've set up a virtual hosts, with a CustomLog file, and I want to
configure Webalizer to process that log, and place the output in a
different place from the "main" log.

There does not seem to be any method of defining two different input
log files and output directories in webalizer.conf, so I guess I need
a separate webalizer.conf for each log file, then run webalizer again
for each one, specifying the config file on the command-line.

BUT - reading the docs, it seem that webalizer will *always* look for
and process /etc/webalizer.conf each time it is run!

Can webalizer be configured to process two completely separate log
files, and produce completely separate outputs for both?

TIA.

Tim

 >> Stay informed about: Multiple Webalizer configs for Apache virtual hosts? 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2994



(Msg. 2) Posted: Sun Jul 11, 2004 1:41 pm
Post subject: Re: Multiple Webalizer configs for Apache virtual hosts? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Tim <bollox.RemoveThis@bollox.com> wrote:
 > log files and output directories in webalizer.conf, so I guess I need
 > a separate webalizer.conf for each log file

Exactly.

 > BUT - reading the docs, it seem that webalizer will *always* look for
 > and process /etc/webalizer.conf each time it is run!

The -c option is used to specify the configuration file. In alternative,
you can place different configuration files in different directories
and call webalizer from that directory since the first thing he does is
to look in the current dir for his config file. RTFM

Davide

--
| We have only two things to worry about: That things will never get
| back to normal, and that they already have.
|
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Multiple Webalizer configs for Apache virtual hosts? 
Back to top
Login to vote
bollox

External


Since: May 08, 2004
Posts: 3



(Msg. 3) Posted: Sun Jul 11, 2004 2:04 pm
Post subject: Re: Multiple Webalizer configs for Apache virtual hosts? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 11 Jul 2004 10:41:36 GMT, Davide Bianchi
<davideyeahsure DeleteThis @onlyforfun.net> wrote:

 >Tim <bollox DeleteThis @bollox.com> wrote:
  >> BUT - reading the docs, it seem that webalizer will *always* look for
  >> and process /etc/webalizer.conf each time it is run!
 >
 >The -c option is used to specify the configuration file.

Yes, but according to the manual, it will *still* go for
/var/webalizer.conf if it exists!

 >In alternative,
 >you can place different configuration files in different directories
 >and call webalizer from that directory since the first thing he does is
 >to look in the current dir for his config file.

Hmmm. Good idea - thanks! Messy, but it might work.

 >RTFM

I have done, but it completely brushes this issue aside, and confused
the sh*t out of me! Hence why I came here Smile<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Multiple Webalizer configs for Apache virtual hosts? 
Back to top
Login to vote
bollox1

External


Since: Jul 15, 2004
Posts: 1



(Msg. 4) Posted: Fri Jul 16, 2004 12:25 am
Post subject: Re: Multiple Webalizer configs for Apache virtual hosts? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 11 Jul 2004 08:50:35 GMT, Tim <bollox.TakeThisOut@bollox.com> wrote:

 >I've set up a virtual hosts, with a CustomLog file, and I want to
 >configure Webalizer to process that log, and place the output in a
 >different place from the "main" log.

Sorted!

Simple, really! I just removed /etc/webalizer.conf, created a new
directrory off /etc called webalizer, then placed the two different
config files in there, and call webalizer with the -c option for each
one Smile

It looks in the current directory for webalizer.conf... not there,
then /etc/webalizer.conf... not there, so it just processes the config
file given on the command-line.

Smile<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Multiple Webalizer configs for Apache virtual hosts? 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]