Forum Moderators: DixonJones

Message Too Old, No Replies

Installing Awstats in a single site

and not in whole server

         

mlduclos

4:39 am on Jun 29, 2006 (gmt 0)

10+ Year Member



Hello

The official Awstats package comes with instructions and defaults to be installed in the full system by the server admin. I have an single domain in a server, and not access to directories such /etc /var ... I have an cgi-bin able to run perl and access to my domain apache logs file. Can someone point me to where I can learn on how install awstats with these conditions? I already searched on the web and dont found a good tutorial.

thanks

the_nerd

8:31 am on Jun 30, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



did you ask you ISP? Many are willing to go the extra mile to keep customers happy.

GenerationTalk

8:33 am on Jun 30, 2006 (gmt 0)

10+ Year Member



My host used Helm which allows you to install it by the click of a button :)

See LiquidSix

mlduclos

8:49 am on Jul 2, 2006 (gmt 0)

10+ Year Member



My host already offers webalizer, and its not a paid host, so I cant ask for features like this.

JAB Creations

11:22 pm on Jul 2, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<! IMPORTANT! Make sure you're running version 6.5 or higher or AW Stats as there is a nasty security bug. />

Installing your own custom AW Stats can be a pain though it can be done!

You may want to move your files to...

domain.com/cgi-bin/awstats.pl
or
domain.com/cgi-bin/aw/awstats.pl
or
domain.com/cgi-bin/awstats/awstats.pl

for example...

The main file needs to simply be set to the path of the perl executable (a common problem people have when trying to install AW Stats locally which rocks btw as it's great for CPU benchmarking).

The first line on my script is as so...
#!/usr/bin/perl

Try that one out as well as whatever the default may be with your downloaded version of AW Stats.

When I wanted to run AW Stats locally I had a lot of fuss to put up with though I eventually got it running.

I use XAMPP which is a prepackaged version of Apache along with nifty things like MySQL and a very minimal Perl install. I had to download and install "Active Perl" to the perl directory in XAMPP and change my Perl path in AW Stats to point to the perl directory.
#!C:/MEDIA/INTERNET/Apache/xampp/perl/bin/perl.exe

I don't think you have to specifiy the full path and the executable but it worked fine that way.

I hope this helps some.

- John

mlduclos

7:44 am on Jul 3, 2006 (gmt 0)

10+ Year Member



I finally got it working...

Its not so good program as I imaginated.