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
-
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
-
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
-
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 ?
-
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.
-
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.
-
Thank you Ray. Very useful.
http://www.dungog.net/sme/changelog/
-
Thank you, RayMitchell and burnat
I will give it a try tonight!
/Michael
-
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