Hi Yaroslav, On Wed, Mar 03, 2010 at 11:43:52AM -0500, Yaroslav Halchenko wrote:
I was trying to config multi-site setup to generate static pages. When I followed instructions and created /etc/awstats/awstats.custom.conf and then ran awstats.pl -config=custom, it didn't spit out any warning/error but said that it read /etc/awstats/awstats.conf and /etc/awstats/awstats.conf.local and nothing about custom. Even in debug=1 no error of any kind was reported...the issue was -- file was there, BUT with permissions disallowing for the user I was executing awstats.pl to read it... So, reasonable software, provided a specific configuration file should puke an error and fail if it fails to read that file -- not just "go on" without any mentioining of a problem.
Thanks a lot for reporting this!Could you be persuaded to dig one step deeper and try locate where it does not fail properly? I imagine (without looking at the code at all) that it is simply a shell script which needs a "set -e" somewhere...
Kind regards, - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: Digital signature

