On 10/04/14 11:36, Sergey B Kirpichev wrote:
> On Thu, Apr 10, 2014 at 04:08:06AM +0200, Martín Ferrari wrote:
>> I have configured awstats using one of the recommended schemes in
>> README.Debian, namely: using one small conffile per virtual-host that also
>> includes the default awstats.conf.
> 
> There is no such a scheme.  Please read this:
> -->8--
> [...]
> -->8--
> 
> So, in this scheme - you should modify the default awstats.conf as well.

Well, it does not make much sense, it would be inconsistent with the
rest.. Also, you are encouraged to put all your local changes in
awstats.conf.local, to have painless upgrades.

>> This is a great way to have tidy
>> configuration files, but it has a very annoying drawback: the cronjobs still
>> try to use the unmodified awstats.conf file, and send me an email about this
>> every 10 minutes.
> 
> Can you fix these emails by configuring awstats.conf as one of vhosts?

Yes, I could. But then again, which one is it?
Also, if I make changes in that file, I need to make sure to revert them
in all the other files which include it.. It is not good for
maintenance, it is confusing and a bit untidy.


> Please reopen this bugreport if the answer is no.  Also, if you find
> the documentation is not clear about the awstats.conf in this use case - 
> please
> suggest changes (patches welcome).

I think it is not clear in that sense, because it is not what one would
expect. I would add a explicit warning about this. Which still does not
make me very happy...

Me, I will keep modified scripts, which then I will need to repatch on
every upgrade..


-- 
Martín Ferrari (Tincho)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to