Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Our Archives > General Archives > Servers > AWStats Help

 
AWStats Help
Thread Tools
Grizzled Veteran
Join Date: Aug 2002
Status: Offline
Jul 16, 2003, 10:34 AM
 
Hello,

I'm having trouble setting up AWStats on 10.2.6 server. I am trying to set up AWStats for each individual site on the server.

1. I have already turned off the Performance Cache on all the sites. I have changed the following...

CustomLog "/private/var/log/httpd/access_log" "%h %l %u %t \"%r\" %>s %b"

to

CustomLog "/private/var/log/httpd/access_log" combined

in the in /etc/httpd/httpd_macosxserver.conf for each site.

2. Copied awstats.pl, awstats.model.conf, lang, lib and plugins to CGI-Executables.

3. Copied the icon folder into mydomain.com folder which is located in /Library/WebServer/Documents/mydomain.com

4. Took a copy of awstats.model.conf and entered the following settings:
LogFile="/private/var/log/httpd/access_log"
LogFormat=1
DirIcons="/Library/WebServer/Documents/mydomain.com/icon"
SiteDomain="www.mydomain.com"

5. Changed awstats.model.conf name to awstats.www.mydomain.com.conf. I also tried awstats.myipaddress.conf. I then put this file in CGI-Executables.

6. Opened Terminal and entered awstats.pl -config=mydomain.com -update

OK, this is where the trouble starts. Terminal says awstats.pl : Command Not Found

I know this is long but I wanted to be very detailed. Can anyone help?

Thanks
     
Dedicated MacNNer
Join Date: Jul 2000
Location: Texas
Status: Offline
Jul 28, 2003, 02:00 PM
 
Originally posted by MallyMal:
Hello,

I'm having trouble setting up AWStats on 10.2.6 server. I am trying to set up AWStats for each individual site on the server.

1. I have already turned off the Performance Cache on all the sites. I have changed the following...

CustomLog "/private/var/log/httpd/access_log" "%h %l %u %t \"%r\" %>s %b"

to

CustomLog "/private/var/log/httpd/access_log" combined

in the in /etc/httpd/httpd_macosxserver.conf for each site.

2. Copied awstats.pl, awstats.model.conf, lang, lib and plugins to CGI-Executables.

3. Copied the icon folder into mydomain.com folder which is located in /Library/WebServer/Documents/mydomain.com

4. Took a copy of awstats.model.conf and entered the following settings:
LogFile="/private/var/log/httpd/access_log"
LogFormat=1
DirIcons="/Library/WebServer/Documents/mydomain.com/icon"
SiteDomain="www.mydomain.com"

5. Changed awstats.model.conf name to awstats.www.mydomain.com.conf. I also tried awstats.myipaddress.conf. I then put this file in CGI-Executables.

6. Opened Terminal and entered awstats.pl -config=mydomain.com -update

OK, this is where the trouble starts. Terminal says awstats.pl : Command Not Found

I know this is long but I wanted to be very detailed. Can anyone help?

Thanks
Type in "perl awstats.pl" to start the command. Should work fine after that.
---
One XP Box, One Suse Box, One Blue & White,
One ibook, One iMac 17 FP, one 30 gig iPod and a mini
happy .mac customer, os9 free since 3/24/01
     
 
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:07 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2