View Full Version : awstats
littlebt
2003-08-09, 21:55 PM
has anyone setup awstats on there 2000 server? im having trouble with it if anyone has done this and can give some dvice please do
wunderlin
2003-08-11, 10:42 AM
Yes- I'm running it. What's the problem?
I'm also running it on several sites.
littlebt
2003-08-11, 19:25 PM
it seems to not be working im not sure how to configure it. ill start with the first and im sure stupidest question i dont seem to have a cgi-bin dir do i just make one in each sites folder ?
wunderlin
2003-08-11, 19:41 PM
I didn't follow the docs exactly, here's my method (I think it's a little easier, but probably not the standard way)
1st, be sure you have a perl interpreter installed. I use ActivePerl from:
http://www.activestate.com/
I then created a 'stats' directory and copied all the .pl files into that directory.
Check the awstats documentation for setting up the logging parameters in windows...
I created a separate web site with a separate port for my stats- I pointed the root of that site to \stats. The default activeperl install includes adding a path to the perl interpreter, which should allow perl scripts to be run from anywhere.
At this point, I'd try running the awstats.pl script to make sure perl is installed- if you just type 'perl awstats.pl' from the \stats directory at the command prompt, you should see the basic help information displayed.
From here, depending on what you want to do, you'll need to check the docs for either creating static html pages, or running the awstats file as a cgi script. One thing to note, you'll need to set permissions on the web site to 'write' to allow the awstats.pl file to dynamically generate the stats file.
Good luck.
littlebt
2003-08-11, 20:04 PM
thanks i will try that tonight
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.