how to add installaion the AWStats? - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: how to add installaion the AWStats? (/thread-5200.html) Pages: 1 2 |
how to add installaion the AWStats? - homodo - 12-18-2008 09:01 PM ispcp is install,but no install AWStats,now i who add the AWStats? RE: how to add installaion the AWStats? - coper - 12-20-2008 02:19 AM If you go to http://www.domain.com/stats nothing happens? I ask you this because the ispcp setup asks you if you want to enable awstats. RE: how to add installaion the AWStats? - pgentoo - 01-04-2009 10:04 AM I originally setup Awstats as Dynamic in the setup, but now it's not working. If I go to http://www.mydomain.com/stats, i get to awstats but it tells me: Error: Couldn't open config file "awstats.localhost.conf" nor "awstats.conf" after searching in path "/var/www/localhost/cgi-bin,/etc/awstats,/usr/local/etc/awstats,/etc,/etc/opt/awstats": No such file or directory If I change the url to: http://www.mydomain.com/stats/?config=mydomain.com Then it works... I've tried changing the ProxyPass and ProxyPassReverse lines in ispcp.conf for the domain to add this ?config=mydomain.com to the end, and this still doesnt' work... Only works if I add it to the url in my browser... Is there some setting I'm missing somewhere? If you know the fix for this, please let me know. I've just moved over several production domains to my system and need to get stats up ASAP. Thanks, pGentoo RE: how to add installaion the AWStats? - coper - 01-04-2009 05:00 PM Hi there. What ispcp version are you using? Can you put the content of the /etc/ispcp/apache/01_awstats.conf file? RE: how to add installaion the AWStats? - pgentoo - 01-05-2009 07:11 AM I'm using a svn copy just after RC7. So basically RC7. Contents of: /etc/apache/vhosts.d/01_awstats.conf Code: Alias /awstatsicons "/var/www/localhost/htdocs/awstats/icon/" Code: ls -la /var/www/localhost/cgi-bin/ Code: ls -l /var/www/localhost/htdocs/awstats/ Any help would be much appreciated. Thanks, pGentoo RE: how to add installaion the AWStats? - coper - 01-05-2009 12:42 PM I don't know if this is the problem but my 01_awstats.conf is a little different than yours. I'm running RC6 maybe because of that or maybe not. Here is my file: Code: Alias /awstatsicons "{AWSTATS_WEB_DIR}/icon/" RE: how to add installaion the AWStats? - pgentoo - 01-05-2009 01:07 PM You have $2 on your last line, and I have $1. I tried switching it, and still no go. If anyone else has any ideas, I would appreciate it. - pGentoo RE: how to add installaion the AWStats? - coper - 01-05-2009 05:06 PM I also have : {AWSTATS_WEB_DIR} {AWSTATS_ENGINE_DIR} Instead the real path and also have one more line in mod_rewrite.c RewriteRule ^/stats/(.*)$ http://localhost/stats/$1/ [R] RE: how to add installaion the AWStats? - pgentoo - 01-06-2009 06:21 AM Ah, that extra line maybe the problem. It didn't come through with your first post though. As for the {} stuff... You are pasting from ispcp's template file for awstats, where i was pasting the actual apache files after those tokens had been replaced with my server specific values. I'll give that extra line a try. Thanks! - pGentoo (01-06-2009 06:21 AM)pgentoo Wrote: Ah, that extra line maybe the problem. It didn't come through with your first post though. Thank you! That extra line fixed my issue. It looks like that was missing in the Gentoo build (even in current SVN). I'll log a bug against it. One issue i'm still having is that my icons don't load in awstats still. Do yours work, or is that broken for everyone? Thanks, pGentoo RE: how to add installaion the AWStats? - coper - 01-07-2009 02:07 AM I can see the icons in my awstats. If you right-click and "save as..." one of the icons. What's the path where should be? |