Koozali.org: home of the SME Server

Awstat i an Ibay

Offline milaweb

  • *
  • 25
  • +0/-0
    • http://www.milasupport.dk
Awstat i an Ibay
« 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

Offline chris burnat

  • ****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Awstat i an Ibay
« Reply #1 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
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline milaweb

  • *
  • 25
  • +0/-0
    • http://www.milasupport.dk
Awstat i an Ibay
« Reply #2 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 ?

Offline chris burnat

  • ****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Awstat i an Ibay
« Reply #3 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.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline raem

  • *
  • 3,972
  • +4/-0
Awstat i an Ibay
« Reply #4 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.
...

Offline chris burnat

  • ****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Awstat i an Ibay
« Reply #5 on: November 07, 2006, 01:21:54 PM »
Thank you Ray. Very useful.
http://www.dungog.net/sme/changelog/
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline milaweb

  • *
  • 25
  • +0/-0
    • http://www.milasupport.dk
Awstat i an Ibay
« Reply #6 on: November 07, 2006, 03:40:47 PM »
Thank you, RayMitchell and burnat

I will give it a try tonight!


/Michael

Offline quayph

  • 13
  • +0/-0
Re: Awstat i an Ibay
« Reply #7 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