Hi i'm using virtualmin on a FC2 since ages... recently i had to reinstall the machine hosting many websites, and i used a debian distro. I installed awstats from .deb, webmin, virtualmin, and the awstats virtualmin plugin
in the past, i did the awstats configuring by hand, but now i would like to use the awstats plugin.
i've encountered a few problems.
1) when i "activate" the awstats in a virtual site, it makes a ~/awstats dir, with user:group permissions, and its fine... but if i try to do an awstats UPDATE via browser, it complains about being not able to write a .tmp file. I now made the awstats dir with www-data:group permission and it's working fine.. but it's not fine for secirity issues.
2) my web sites are in the form domain.xxx and have an alias of www.domain.xxx. when awstats plugin make the config files, it use the awstats.domain.xxx.conf name. that means that my customers have to go to domain.xxx/awstats site to see their stats, and not www.domain.xxx/awstats site, that show a missing config file. How i can show the stats both calling www. and not www. domain.xxx ? i'm pretty sure in the past i had it working in that way. Now i'm renaming all config files and data files with www. inside thir name.
Sorry for my english Marco