I solved the problem by changing DirIcons="__AWS_DIR__icon/" in DirIcons="__AWS_DIR__icon" located in the file awstats/awstats.conf I still think it's strange that this isn't configured correctly by default