LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   AWStats: No icons, Upgrading Process (https://www.linuxquestions.org/questions/linux-software-2/awstats-no-icons-upgrading-process-183757/)

jjp001 05-20-2004 11:14 AM

AWStats: No icons, Upgrading Process
 
Hello,

I have installed awstats 4.0 as a package shipped with Debian 3.0r2. After installation, the statistics would come up fine, except the icons were missing; specifically, those for the languages and the "AWStats" link at the top left-hand corner, and the graphical bars did not come out properly.

Some snooping around the httpd.conf and awstats.[localservername].conf files revealed Apache and AWStats were looking for icons in different places. The httpd.conf file had an alias for /icons/ to look at /usr/share/apache/icons. The awstats.[localservername].conf file had a DirIcons directive to look at /var/www/html/icon. Inspection of the /var/www/html/icon showed there were six additional subdirectories below it.

To attempt to remedy it, I went to the /usr/share/apache/icons directory and created symbolic links to the directory where the icons for AWStats were located; e.g.,

cd /usr/share/apache/icons
ln -s /var/www/html/icon/browser browser
ln -s /var/www/html/icon/clock clock
ln -s /var/www/html/icon/cpu cpu
ln -s /var/www/html/icon/flags flags
ln -s /var/www/html/icon/os os
ln -s /var/www/html/icon/other other

I also modified the awstats.[localservername].conf file and changed the DirIcons directive from

DirIcons="/var/www/html/icon"

to

DirIcons="/usr/share/apache/icons"

I stopped and restarted the apache service, even rebooted the server, and still... no icons!

I know this _is not_ a problem limited to Debian; another server that I operate running Red Hat 7.3 and AWStats 5.4 has the same problem.

If there is no easy fix for this, I would consider upgrading AWStats to 6.1 as per the SourceForge site, except the documentation states you have to check the version of Perl you're running, and replace the AWStats runtime files with new ones. Checking the version of Perl is easy, but the file replacement isn't, especially when you don't know where were the files installed. Also, I don't want to lose the configurations done to the awstats.[localservername].conf file, but I guess I could back that up to another directory.

Any thoughts or suggestions on this matter are _greatly_ appreciated.


All times are GMT -5. The time now is 02:36 PM.