ivytony Posted October 23, 2008 Share Posted October 23, 2008 I have awstats installed on my server and the perl script works, but the only thing not working properly is the images in the /var/www/html/awstatsroot/icon folder cannot be shown when I view awstats stats by this url http://www.domainA.com/awstats/cgi-bin/awstats.pl So I wonder how in apache configuration to show/forward the images in icon directory on browser? Otherwise I'll have to copy the entire icon folder to the root directory of domainA.com thanks Link to comment https://forums.phpfreaks.com/topic/129866-how-to-foward-image-request-to-varwwwhtmlawstatsrooticon/ Share on other sites More sharing options...
corbin Posted October 24, 2008 Share Posted October 24, 2008 Look into the Alias command. Link to comment https://forums.phpfreaks.com/topic/129866-how-to-foward-image-request-to-varwwwhtmlawstatsrooticon/#findComment-673315 Share on other sites More sharing options...
ivytony Posted October 24, 2008 Author Share Posted October 24, 2008 thank you so much! that works! added this line to httpd.conf: Alias /icon /var/www/html/awstats/wwwroot/icon Link to comment https://forums.phpfreaks.com/topic/129866-how-to-foward-image-request-to-varwwwhtmlawstatsrooticon/#findComment-673436 Share on other sites More sharing options...
corbin Posted October 24, 2008 Share Posted October 24, 2008 No problem. Link to comment https://forums.phpfreaks.com/topic/129866-how-to-foward-image-request-to-varwwwhtmlawstatsrooticon/#findComment-673475 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.