graphapplet.pm uses the following snipet to generate the html code for awstats. print "<applet name=\"$type\" archive=\"awgraphapplet.jar\" code=\"AWGraphApplet.class\" codebase=\"".($DirClasses||"/")."\" width=\"$graphwidth\" height=\"$graphheight\" alt= \"Your browser does not support Java correctly. Change browser or disable AWStats graphapplet plugin.\">\n"; This will however not work and cause 404 errors. There is a variable 'codebase' that lists $DirClasses, but does not get passed/honored. In /etc/awstats.site.conf the variable is passed as: LoadPlugin="graphapplet /awstats/classes" but doesn't get used. A quick hack is to change codebase=\"".($DirClasses||"/")."\" with \"".($DirClasses||"/awstats/classes")."\" if apache is setup with the /awstats/classes alias. Reproducible: Always
Please report this upstream. Thank you.