Automatic generation of the awstats conf file


When we look at the awstats report via Logs and Reports => View AWstats Report we get following error

Error: LogFile parameter is not defined in config/domain file

Setup (’/etc/awstats/’ file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in ‘docs’ directory).

When I look in the generated file I see that the LogFile directive is missing, this is confirmed bij looking into webmin => System => Servers => AWstats Reporting there the logfile is indeed empty.

I guess it goes wrong when the logfile get’s generated but I have no idea how to solve it.

I would be highly appreciated if someone could help.

server OS CentOS 5.4
Webmin version 1.490
Virtualmin version 3.75.gpl GPL