Forum Moderators: DixonJones
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
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