Report this

What is the reason for this report?

Awastats icon and spider problem

Posted on November 7, 2014

Hi

Now when i access my Awstats pages i get no icons or graphics everything seemsto point right what i can see. But still it dont work. Hope that someone can help me fix this.

The second problem is that it dont show stats for Robots/Spiders visitors

this is the log format information i have pick in the awstats conf file: %host %other %logname %time1 %methodurl %code %bytesd %refererquot %uaquot $aquot %User-agent

And this setting comes from apache’s access logs setting:

LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

What can be wrong here?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

If you are not correctly seeing Awstat’s icons and other assets, double check your Apache configuration. The VirtualHost for your domain should contain a section that looks like this:

    Alias /awstatsclasses "/usr/share/awstats/lib/"
    Alias /awstats-icon "/usr/share/awstats/icon/"
    Alias /awstatscss "/usr/share/doc/awstats/examples/css"
    ScriptAlias /awstats/ /usr/lib/cgi-bin/
    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch

The Alias directives are important as they tell Apache where to find the correct assets.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.