View previous topic :: View next topic |
Author |
Message |
Evileye l33t
Joined: 06 Aug 2003 Posts: 782 Location: Toronto
|
Posted: Mon Feb 04, 2008 6:06 pm Post subject: AWStats icons don't appear (SOLVED) |
|
|
You can see my awstats here. I have installed awstats 6.7-r2 but the icons don't appear, there is just white bars where the icons are suppose to be. Here is the relevant part of my apache 00_default_vhost.conf file...
Quote: | Alias /awstats/classes "/usr/share/webapps/awstats/6.7-r2/htdocs/classes/"
Alias /awstats/css "/usr/share/webapps/awstats/6.7-r2/htdocs/css/"
Alias /awstats/icons "/usr/share/webapps/awstats/6.7-r2/htdocs/icon/"
ScriptAlias /awstats/ "/usr/share/webapps/awstats/6.7-r2/hostroot/cgi-bin/"
ScriptAlias /awstats "/usr/share/webapps/awstats/6.7-r2/hostroot/cgi-bin/awstats.pl"
ScriptAlias /awstats.pl "/usr/share/webapps/awstats/6.7-r2/hostroot/cgi-bin/awstats.pl"
<Directory "/usr/share/webapps/awstats/6.7-r2/htdocs">
Options None
AllowOverride None
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
<Directory "/usr/share/webapps/awstats/6.7-r2/hostroot/cgi-bin">
Options ExecCGI
AllowOverride None
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
|
Here is the relevant part of my awstats.canuckster.org.conf file...
Quote: | # Relative or absolute web URL of your awstats icon directory.
# If you build static reports ("... -output > outputpath/output.html"), enter
# path of icon directory relative to the output directory 'outputpath'.
# Example: "/awstatsicons"
# Example: "../icon"
# Default: "/icon" (means you must copy icon directories in "/mywwwroot/icon")
#
DirIcons="/awstats/icon"
|
All the icons are in the directories they are suppose to be in. Does anyone know what is wrong?
Last edited by Evileye on Tue Feb 05, 2008 9:17 pm; edited 1 time in total |
|
Back to top |
|
|
Evileye l33t
Joined: 06 Aug 2003 Posts: 782 Location: Toronto
|
Posted: Mon Feb 04, 2008 10:56 pm Post subject: |
|
|
ok, I fixed it although not properly. What I did was move the "awstats" directory and called it "awstatsicons" in my webroot, then changed the following option in the awstats.canuckster.org.conf file.
Quote: |
DirIcons="/awstatsicons/icon" |
For some reason when that directory is called "awstats" it doesn't work, but when it is called "awstatsicons" it does work. I don't know why. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|