When installing awstats with the vhost flag active, using webapp-config to install it onto a virtual host, a directory is created under htdocs like "awstats/icon", while the application and related pages refer to "awstats/icons". Seems like a simple typo.
No, it's not a typo. Read the postinstall instructions and setup the needed aliases. <snip> Alias /awstats/classes "/usr/share/webapps/awstats/<version>/htdocs/classes/" Alias /awstats/css "/usr/share/webapps/awstats/<version>/htdocs/css/" Alias /awstats/icons "/usr/share/webapps/awstats/<version>/htdocs/icon/" ScriptAlias /awstats/ "/usr/share/webapps/awstats/<version>/hostroot/cgi-bin/" ScriptAlias /awstats "/usr/share/webapps/awstats/<version>/hostroot/cgi-bin/awstats.pl " ScriptAlias /awstats.pl "/usr/share/webapps/awstats/<version>/hostroot/cgi-bin/awstats .pl" </snip>
*** Bug 202259 has been marked as a duplicate of this bug. ***
(In reply to comment #1) > No, it's not a typo. Read the postinstall instructions and setup the needed > aliases. This is completely awful, since you have to change apache config on each upgrade because the /awstats directories aliased via apache are version specific. Additionally it wouldn't make sense then to install these files additionally into the docroot. I suggest to remove the alias crap from postinstall and fixe the model.conf kthxbye
(In reply to comment #3) > I suggest to remove the alias crap from postinstall and fixe the model.conf > Additionally it wouldn't make sense then to install these files > additionally into the docroot. Can't do any such thing, it does NOT work without the aliases - plus the config file is per-vhost (that's why you need the aliases). If you dislike it, the tell upstream to provide something better, current removing any aliases is plain no-go.
it works like a charm without an alias on a lot of boxes here
(In reply to comment #5) Well, so don't use the aliases if you dislike it. And no, it doesn't work like a charm here, it plain doesn't work at all without them. http://awstats.sourceforge.net/docs/awstats_setup.html
a fixed, alias-free version can be found at: http://overlays.gentoo.org/svn/dev/hollow/net-www/awstats/