Hey guys,
Having a very strange issue that no one can seem to figure out. I'm playing around with Debian so I can learn linux. I'm trying to make things easier so that I can just type in the hostname into my browser and be able to go to my website, but I'm having a very strange issue between that.
For AWStats, the icons are only working correctly half of the time. When I go to 172.26.1.147/cgi-bin/awstats.pl, my icons work. Their path is /awstats-icon.
When I go to lewisdebian/cgi-bin/awstats.pl, my icons don't work. The path is set to /var/www/icon.
In my hosts file I have set the ip address of the server to lewisdebian, that's not an issue, and the server name and everything appears correct in Debian.
My awstats.conf file:
Code:
Alias /awstatsclasses /usr/local/awstats/wwwroot/classes/
Alias /awstatscss /usr/local/awstats/wwwroot/css/
Alias /awstats-icon /usr/share/awstats/icon/
ScriptAlias /awstats/ /usr/local/awstats/wwwroot/cgi-bin/
<Directory /usr/local/awstats/wwwroot/>
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory /usr/share/awstats/icon/>
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Anything else you guys would need to see?