Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: milaweb on November 06, 2006, 02:19:43 PM

Title: Awstat i an Ibay
Post by: milaweb on November 06, 2006, 02:19:43 PM
Hi

I have a 2 SME-server-setup which i use for site-hosting(15 users) and file/print servers. I have just done a succesfull upgrade from version 6.01 to version 7. I just have one thing: In version 6 i used a contrib to install Awstat in an Ibay so that users could see the web-stat, for their domain,  without logging on through eg. userpanel. That contrib doesn't work in version 7, and i can't find any other awstat-in-an-ibay-contrib that works in version 7.

How can i give my users their webstat(no userpanel) ?

/Michael Larsen
Title: Awstat i an Ibay
Post by: chris burnat on November 07, 2006, 10:29:48 AM
Dungog has an awstats verion working on VS7.
http://sme.dungog.net/packages/smeserver/7.0/i386/html/index_dungog.html
Check how to install & update using yum, info is here:
http://www.dungog.net/sme/repo.php
Hope it helps. rdgs. chris
Title: Awstat i an Ibay
Post by: milaweb on November 07, 2006, 12:28:12 PM
Thank you burnat

I have installed that one, and it works fine. But if the users have to see it, they have to log on through the user-manager(https), and the users network-range has to be set up in the "Remote Management".

Isn't there any other way, without https-access ?
Title: Awstat i an Ibay
Post by: chris burnat on November 07, 2006, 12:59:45 PM
Do you mean for users wanting to check awstats from outside the local network?  
If affirmative, I have no solution to offer, but someone with more experience may shed lights on this one and we both will learn.  Rgds. chris.
Title: Awstat i an Ibay
Post by: raem on November 07, 2006, 01:07:14 PM
milaweb

> But if the users have to see it, they have to log on through the user-
> manager(https), and the users network-range has to be set up in
> the "Remote Management".

Check the dungog website re that contrib. You can enter db values for remote host IPs that are different to those set in the Remote Management panel. See the changelog for the rpm.
Your remote users will still need to be on a static IP.
Title: Awstat i an Ibay
Post by: chris burnat on November 07, 2006, 01:21:54 PM
Thank you Ray. Very useful.
http://www.dungog.net/sme/changelog/
Title: Awstat i an Ibay
Post by: milaweb on November 07, 2006, 03:40:47 PM
Thank you, RayMitchell and burnat

I will give it a try tonight!


/Michael
Title: Re: Awstat i an Ibay
Post by: quayph on December 07, 2007, 05:08:38 PM
One way to achieve what you want is to run a cron job to create static pages of your stats, and put them in an ibay.
The drawback is that your sats are for the previous day and not absolutely live.


Here is the cron job file :

#!/bin/bash
if [ -f /var/log/httpd/access_log ] ; then
  perl /usr/bin/awstats_buildstaticpages.pl -lang=fr -configdir=/etc/awstats -config=localhost.localdomain -awstatsprog=/var/www/awstats/awstats.pl -dir=/home/e-smith/files/ibays/Primary/html/awstats
fi
exit 0


Keith