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

Re: how to tell webalizer where webalizer.conf is?



On Fri, Oct 16, 2009 at 09:26:20AM -0400, Robert P. J. Day wrote:

>   is that a reasonable thing to do?  because it would certainly break
>   the webalizer cron script, which looks in the /etc location by
>   default.  is there a webalizer-approved way to have it start off
>   with a different location for its .conf file with manually hacking
>   the script itself?  i'd like to avoid that if i could.

It certainly breaks the FHS, as well as being a potential security
issue under some circumstances . But webalizer certainly supports
running from pretty much any random conf file with the -c flag.

In addition, the webalizer cron script supports running *multiple*
instances of webalizer by processing each of the *.conf files in
WEBALIZER_CONFDIR (by default, /etc/webalizer). You could try moving the
weirdly-placed webalizer.conf file there as, for example,
"the_other_admin_was_a_goober.conf" and let the nightly cron job run it.

-- 
"Oh, look: rocks!"
	-- Doctor Who, "Destiny of the Daleks"


Reply to: