Hey, I followed this guide on howto get AWStats working with ISPconfig. "HowTo Install AWStats With Some PlugIns On A Server With ISPConfig" However when I attempt to browse the stats of one of my sites lets say www.examples.com/awstats, it prompts me to login and then i get the following error... Code: Forbidden You don't have permission to access /awstats/ on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Any ideas? I ran the script so that I could get some stats generated :/
To be honest, I don't know where the stats would be created - might be awstats, but might also be another folder (maybe the normal stats folder?)...
Well, In my web directory for my site, I have an awstats directory but it contains no files :/ I created this site before I installed awstats, will awstats only work with new web sites?
AWStats will create the stats in /awstats, and this for any site for which the stats are enabled (webalizer option). For the login I use exacly the same code as in Webalizer to generate the .htaccess. Do you have an index.php file in the awstats directory?
At the bottom of the options Menu of your website you have a checkbox wich is called "Webalizer Stats:" Make sure it's checked
I have an issue at the moment with the icons not showing up for awstats. It seems they are being pointed at the root directory of the website. so www.website.com/icons.whatever Is there anyway to chance this?
have a look at your apache config (/etc/apache2/apache2.conf or /etc/httpd/conf/httpd.conf or /etc/apache2/default-server.conf) you should have something like Code: ### AWStats Section ### Alias /icon "/home/admispconfig/ispconfig/tools/awstats/wwwroot/icon/" ### End of AWStats Section ###
That worked, thanks. Just a note, I followed all the instructions on adding awstats and it didn't add that line by itsself.
Something is wacked out.. My site is web1 however awstats is generating stats for web2 which I don't have a site for :/ Also, awstats is using an older host name that we have changed. Should be dino.itsm-solutions.ca. Here is the dir listing of /var/www/web2/web/awstats Code: root@dino:/var/www/web2/web/awstats# ls -alh total 248K drwxr-xr-x 2 www-data web2 4.0K 2007-08-09 15:39 . drwxrwxr-x 5 www-data web2 4.0K 2007-08-04 04:00 .. -rw-r--r-- 1 www-data web2 5.7K 2007-08-09 15:39 awstats082007.dino.iainc.ca.txt -rw-r--r-- 1 www-data web2 5.7K 2007-08-09 15:39 awstats.dino.iainc.ca.2007-08.alldomains.html -rw-r--r-- 1 www-data web2 5.1K 2007-08-09 15:39 awstats.dino.iainc.ca.2007-08.allhosts.html -rw-r--r-- 1 www-data web2 5.1K 2007-08-09 15:39 awstats.dino.iainc.ca.2007-08.allrobots.html -rw-r--r-- 1 www-data web2 5.3K 2007-08-09 15:39 awstats.dino.iainc.ca.2007-08.browserdetail.html -rw-r--r-- 1 www-data web2 5.0K 2007-08-09 15:39 awstats.dino.iainc.ca.2007-08.errors404.html -rw-r--r-- 1 www-data web2 65K 2007-08-09 15:39 awstats.dino.iainc.ca.2007-08.html -rw-r--r-- 1 www-data web2 4.9K 2007-08-09 15:39 awstats.dino.iainc.ca.2007-08.keyphrases.html -rw-r--r-- 1 www-data web2 4.9K 2007-08-09 15:39 awstats.dino.iainc.ca.2007-08.keywords.html -rw-r--r-- 1 www-data web2 5.1K 2007-08-09 15:39 awstats.dino.iainc.ca.2007-08.lasthosts.html -rw-r--r-- 1 www-data web2 5.1K 2007-08-09 15:39 awstats.dino.iainc.ca.2007-08.lastrobots.html -rw-r--r-- 1 www-data web2 5.4K 2007-08-09 15:39 awstats.dino.iainc.ca.2007-08.osdetail.html -rw-r--r-- 1 www-data web2 5.1K 2007-08-09 15:39 awstats.dino.iainc.ca.2007-08.refererpages.html -rw-r--r-- 1 www-data web2 5.0K 2007-08-09 15:39 awstats.dino.iainc.ca.2007-08.refererse.html -rw-r--r-- 1 www-data web2 4.2K 2007-08-09 15:39 awstats.dino.iainc.ca.2007-08.session.html -rw-r--r-- 1 www-data web2 4.9K 2007-08-09 15:39 awstats.dino.iainc.ca.2007-08.unknownbrowser.html -rw-r--r-- 1 www-data web2 5.1K 2007-08-09 15:39 awstats.dino.iainc.ca.2007-08.unknownip.html -rw-r--r-- 1 www-data web2 4.8K 2007-08-09 15:39 awstats.dino.iainc.ca.2007-08.unknownos.html -rw-r--r-- 1 www-data web2 5.4K 2007-08-09 15:39 awstats.dino.iainc.ca.2007-08.urldetail.html -rw-r--r-- 1 www-data web2 5.4K 2007-08-09 15:39 awstats.dino.iainc.ca.2007-08.urlentry.html -rw-r--r-- 1 www-data web2 5.1K 2007-08-09 15:39 awstats.dino.iainc.ca.2007-08.urlexit.html -rw-rw-r-- 1 www-data web2 129 2007-08-04 04:00 .htaccess -rw-r--r-- 1 www-data web2 339 2007-08-04 04:00 index.php
infused : yes this is really strange, normally the sed script take care of it. Which distribution do you use? wildgoosed : what do you have in /etc/awstats? you can try to erase the configurtion file for your site, it will be recreated automaticly. Just also erase the awstats directory in your webroot.
Ok, I also use debian, so it's the most tested distrib, and I can't explain why it didn't work. But anyway, if now it's working, everything is ok.
If you add a new site and enable the stats for it, it will automatically generate the statistics for it, so you have nothing to do (just enable the stats for the website).
Where would i enable statistics? You mean check the little box that says webalizer statistics in ispconfig?