On Mon, 2010-01-25 at 15:55 +0530, J. Bakshi wrote:
> J. Bakshi wrote:
> > on the other hand http://myvhost.com/awstats/ awstat.pl   generates the 
> > graph but no icons. 
> >
> > What am I missing here ? Any clue ?
> >
> > Thanks
> >   
> 
> Solved one :-)
> 
> Now  http://myvhost.com/awstats/  shows awstats . The correction I have
> done is 
> 
> incorrect
> -------------
> ScriptAlias /awstats/     
> "/usr/local/awstats/wwwroot/cgi-bin/awstats.pl"    # ( note the / after
> /awstats )
> 
> correct
> ----------
> ScriptAlias /awstats    "/usr/local/awstats/wwwroot/cgi-bin/awstats.pl"
>  
> But still no icons
> 

The Fedora 12 AWStats rpm includes a config for the following, although
I appreciate its for a different path (/usr/share vs. /usr/local)


Alias           /awstatsclasses "/usr/share/awstats/wwwroot/classes/"
Alias           /awstatscss     "/usr/share/awstats/wwwroot/css/"
Alias           /awstatsicons   "/usr/share/awstats/wwwroot/icon/"
ScriptAlias     /awstats/       "/usr/share/awstats/wwwroot/cgi-bin/"

<Directory "/usr/share/awstats/wwwroot">
    Options None
    AllowOverride None
    Order allow,deny
    Allow from All
</Directory>


I suspect you'd need the other Alias lines.

Mark.

-- 
Mark Watts BSc RHCE MBCS
Senior Systems Engineer, Managed Services Manpower
www.QinetiQ.com
QinetiQ - Delivering customer-focused solutions
GPG Key: http://www.linux-corner.info/mwatts.gpg

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to