Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Cyrus Bharda on January 15, 2003, 05:03:36 AM
-
Howdy I have just installed awstats-sme-server-2.0.0-0.noarch.rpm then upgraded to awstats-sme-server-2.2.1-0.noarch.rpm and all it has added is a web stats panel to the server manager, how do I get the page with all the pretty pictures on it?
Thanks,
Cyrus Bharda
-
Have you gone in AWStats page and enabled it?
It works ok to me!
Jáder
-
Yeap, done that, so the only way to look at the AWStats page is the one in the server-manager? There is no http://mydomain.com/awstats type page?
Thanks,
Cyrus Bharda
-
Cyrus ,
This is from my archive... is a topic of this or advanced forum. I NEVER TRYED this. So be VERY CAREFULL:
Re: Making Awstats Visible Externally
Author: Stephen Turnbull (turnbull_AT_datarev.com)
Date: 04-13-02 14:08
Here is a script I found on alt.e-smith.fr... it is in french but I can give a rough translation. The script part is all in English though...
j'ai faits un petit script que execute awstat.pl > fichier.html toutes les
heures .....
... I made a small script to execute awstat.pl >file.html every hour
tu peux voire le résultat a :
... You can view the results at:
> > http://www.memorent.dyndns.org/stats/
a+
et un script pour la quatre, ... un .
... and a script for a quarter ...
*************************************************************************
# stat vers html
cd /home/e-smith/files/primary/cgi-bin
cp /home/e-smith/files/primary/html/stats/result.old.html
/home/e-smith/files/primary/html/stats/result.bak.old.html
cp /home/e-smith/files/primary/html/stats/result.html
/home/e-smith/files/primary/html/stats/result.old.html
./awstats.pl site=www.memorent.dyndns.org
>/home/e-smith/files/primary/html/stats/result.html
cp /home/e-smith/files/primary/html/stats/result.html
/home/e-smith/files/primary/html/stats/index.html
***************************************************************************
voila c'est juste pour moi ...
.... it just works for me
je faits des sauvegardes a chaque fois pour le moment, je vais essaye de les
faire en meme temps que la rotation des logs ... mais beaucoup plus tard
... I tried ..... each time for the moment, I am going to try to do the same thing for log rotation.. but much later
a+
> > je essai les awstats c'est cool
... I just tried awstats and its cool
> Salut,
... Thanks
>
> C'est exactement ce que je cherche,
....It's exactly what I was looking for.
> Merci
-
Otherwise you can do you own ibay installation as explained at
http://sme.swerts-knudsen.dk
I works fine for me.
/Jesper
-
Followed Jesper's instructions, and they worked perfectly for my primary domain name. I then created another conf file for a secondary domain name and made the required changes, but when entering the URL, it comes back with a page not found error. I have re-checked the conf file, but all changes are correct.
What I am trying to do is provide stats for each domain name I host. Is this possible ?
James
-
Hi James,
It is absolut possible to run this on several domains and also sub-domains. I have 4 domains and 2 sub-domains running.
Make sure to call the perl script with a parameter such as
http://www.swerts-knudsen.dk/awstats/cgi-bin/awstats.pl?-config=sme.swerts-knudsen.dk
for my sub-domain
Rgds,
Jesper
-
Followed your instructions for SME 5.1.2 and worked first go. Then tried on SME 5.6 (have tried twice), yet getting some errors when viewing page. Errors as follows:
Warning: Can't find language files for "en". English will be used.
Warning: Can't read file "browsers.pm" (browsers detection will not work correctly).
Check if file is in "/home/e-smith/files/ibays/awstats/cgi-bin/lib" directory and is readable.
Warning: Can't read file "domains.pm" (domains detection will not work correctly).
Check if file is in "/home/e-smith/files/ibays/awstats/cgi-bin/lib" directory and is readable.
Warning: Can't read file "operating_systems.pm" (operating systems detection will not work correctly).
Check if file is in "/home/e-smith/files/ibays/awstats/cgi-bin/lib" directory and is readable.
Warning: Can't read file "robots.pm" (robots detection will not work correctly).
Check if file is in "/home/e-smith/files/ibays/awstats/cgi-bin/lib" directory and is readable.
Warning: Can't read file "search_engines.pm" (search engines detection will not work correctly).
Check if file is in "/home/e-smith/files/ibays/awstats/cgi-bin/lib" directory and is readable.
Warning: Can't read file "worms.pm" (worms detection will not work correctly).
Check if file is in "/home/e-smith/files/ibays/awstats/cgi-bin/lib" directory and is readable.
Any suggestions what I have done wrong ?
James