When I create a new server, inside public_html I find these folders:
This is not very nice… Can confuse the FTP user. Are all these folders really useful? And if they can be safely removed, how to prevent creation on new servers?
Sorry to bring this old post back.
I know that those folders are coming from AWstats. But how can I change the AWstats configuration not to generate those folders?
Does anybody know?
I was given up at that time, but looking your reply I made some more search.
And I found that folders are created by this script:
Look at line 429:
local @dirs = ( “icon”, “awstats-icon”, “awstatsicons” );
I have not tried it, but maybe you can change this line, removing folder names:
local @dirs = ( );
If you try, please let me now if it works.
I am also digging up this thread.
I don’t even have an AWStats available outside of virtualmin. Why are these 2 links and icon folders even in the public_html folder?
I have previously (on Media Temple (gs)) had a single install of AWStats and used only a symbolic link from each site to AWStats, no actual files in each site folder.