How to make stats available for general public viewing?

Started by chilly, October 03, 2005, 12:08:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

chilly

I was wondering if there's a way to make the website statistics (either Webalize or AWstats) available for anyone in the general public to view them?

Jason

What are you looking to do exactly, or what information do you want to share?

For example, are you wanting to show those to potential advertisers or something along those lines?


chilly

Quote from: Jason on October 03, 2005, 12:10:22 PM
What are you looking to do exactly, or what information do you want to share?

For example, are you wanting to show those to potential advertisers or something along those lines?


yup, pretty much.  Hits, pages viewed, etc

Jason

There are scripts out there that will parse and generate stats through existing logs, or create their own.  But if you want to just display your present webalizer stats and you have jailed shell enabled, you could do the following:

Create a symlink in your public folder (/public_html) to the particular stat page you want to use. This example uses webalizer and a link called stats:

ln -s /home/yourusername/tmp/webalizer stats

Then chmod the following to 755:  
/home/yourusername/tmp
and
/home/yourusername/tmp/webalizer

Call up http://www.yourdomainname.com/stats - this will pull up the webalizer stats for the site.

If you don't have jail shell enabled, please contact me to discuss permissions.  I don't grant this by default but can based upon what you need it for.

As far as scripts go, I haven't looked too much, but this one seems pretty powerful:

http://www.actualscripts.com/products/analyzer/lite/

You can demo it here:  http://www.actualscripts.com/products/analyzer/lite/demo.php

Thanks,
Jason