reopen 744093 retitle 744093 provide a better documentation for miltiple stats tag 744093 -patch thanks
On Thu, Apr 10, 2014 at 01:16:52PM +0200, Martín Ferrari wrote: > >> Probably I was confused about the upgrades, but you are still encouraged > >> to leave the main file untouched: > >> > >> This way you can leave awstats.conf alone, and put your > >> server-specific settings into awstats.conf.local, and your > >> site-specific settings into each awstats.[site_name_here].conf > >> file. > > > > I fail to see the words "all local changes". Instead, I see > > exactly same what I told you below: > > If you read "leave awstats.conf alone", clearly that means not modifying > it. It says clearly to put server settings in .local and site settings > in the other files. Are you actually reading this? I see also: -->8-- To handle multiple stats (eg. using VirtualHosts in Apache) you should... 1) Place all *additional* configs in /etc/awstats/. 2) Name the *new configs* "awstats." + whatever you want + ".conf" (eg. "awstats.example.com.conf"). But avoid "awstats.awstats.conf". [...] -->8-- So, it's all about *additional* vhosts. The main vhost supposed to be already configured - please don't consider every single line of README.Debian separately. But I admit, it maybe a good idea to use better wording. > >> If my main host has some extra settings. Say, SkipHosts, because it > >> gets many hits from a monitoring tool, or you want to enable a plugin > >> for it... Where should I put that? > > > > Put this in some awstats.*.conf. Why you want to make this host > > to be the default one (main host)? > > Because it might make sense to do so. Why? There is some design pattern for multiple hosts config: awstats.conf - main site awstats.*.conf - others, they include the first one. Can you understand this once and follow this pattern? Yes, you can. Can you suggest a better solution? (Keep in mind single-config scenario!) Then, please go ahead. But your patch is not acceptable for now. And I'm not sure if there is a documentation issue, that's why this bug was closed. End of story. > In any case, you are harming Debian. Maybe. If you are sure you can do my job better - please go ahead, take the package. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org