Can AWStats be installed on any webhost? My host currently has Webalizer and Modlogan for stats and I like AWStats better. Is there a way to install AWStats on the host? Thanks
It may be possible only if the web host allows access to raw log files and perl is installed on the server.
I like AWStats more than Webalizer as well. AWStats is free, you can download and install from this site I think your host will be able to install it for you, better email them and ask them.
I just emailed my host and they said "You can install AWStats logfile analyzer on your domains." So it sounds like I can use AWStats. Can anybody explain how I set it up? I downloaded the file but it is an .exe which I know I can't install.
hmmmmm, you might want to ask them for instructions...most hosts do have AWStats, frankly I'm suprised yours doesn't
You will need to ask your hosting provider for the location of your raw log files. In addition to this, you should have a cron job setup to automatically parse the log files for you. Basically, you just install the awstats into a sub directory, password protect it so your stats aren't visible to the public. Set up the cron job to parse the log files, or set it to automatically update each time you run the program. Create the your-domain.conf file for your domain. I have set up awstats before on my home server. Give me a yell if you need some help. The install instructions are pretty straight forward. The biggest problem I had was setting up the correct permissions for file access. Once again, your hosting provider could point you in the right direction.
Hey thanks for the reply. I have downloaded and got AWStats working on one of my domains. The problem I'm having is I have to manually set the current log file. It looks like each day a new log file is created and the previous days is zipped up. But I can't figure out how to determine the name of the new file. It seems to be pretty random. Sometimes its the date in nano seconds but not always. Is there some script I can use to just pull the newest file in the log directory? Or is there a way to use wildcards in the path name for the log?
You can specify a wild card in your log file. Example - LogFile=mylog*.log Never tried this, but my gut feeling says that the developers accounted for this, so I would even try *.log (if the directory only contains your raw log files)
I tried using the * for wildcards but it did not work. I'll try again once I get home. I'm with family for Christmas.