Jump to content

Recommended Posts

Posted

First, I love the great stat packages here at TCH -- they are all I need to manage my sites, and all I will ever need! Great stuff.

 

BUT..

 

I have clients that I don't want to give Cpanel access to (they'll hurt themselves), yet I want them to be able to see their site stats.

 

I've seen some 3rd party site statistics services (free, I think) that you can install yourself and people go to the 3rd party site to view the stats.

 

Anyone know of these? Can you recommend them?

 

Come to think of it, I think David Raynes uses one on his site....looking...well, it isn't there anymore, but I thought he had one...

 

Thanks, gang!

 

Todd

TCH Stones

Posted

Todd,

 

This can be done but its kinda tricky with awstats.

 

Create a subdomain called whatever.domain.com or do the following in the /home/username/www directory.

 

cd /home/user/www/whatever

cp /usr/local/cpanel/base/awstats.pl .

ln -s /usr/local/cpanel/base/images images

ln -s /usr/local/cpanel/3rdparty/bin/lib lib

 

The very big draw back is the copy of awstats.pl. If changes happen to the original then this one would need to be manually

updated.

 

Also the images part, because awstats looks for /images it must be at the top level directory.

 

Also can be done for webalizer

 

Steps to access stats in cPanel without going through the control panel, and without (at your discretion) using a password.

 

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

 

/home/youruser/tmp - chmod to 755

/home/youruser/tmp/webalizer - chmod to 755

 

Call up http://www.******/stats/index.html - this will pull up the webalizer stats for the site.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...