/etc/httpd/vhosts/01_awstats.conf
Code:
#
# ispCP П‰ (OMEGA) a Virtual Hosting Control System
#
# @copyright 2006-2008 by ispCP | http://isp-control.net
# @version SVN: $Id$
# @link http://isp-control.net
# @author ispCP Team
#
# @license
# This program is free software; you can redistribute it and/or modify it under
# the terms of the MPL General Public License as published by the Free Software
# Foundation; either version 1.1 of the License, or (at your option) any later
# version.
# You should have received a copy of the MPL Mozilla Public License along with
# this program; if not, write to the Open Source Initiative (OSI)
# http://opensource.org | osi@opensource.org
#
################################################################################
#
# AWStats Begin
#
Alias /awstatsicons "/var/www/awstats/icon/"
NameVirtualHost 127.0.0.1:80
<VirtualHost 127.0.0.1:80>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^/stats/(.+)/$ http://localhost/awstats/?config=$1 [P]
RewriteRule ^/stats/(.+)/awstats.pl(.*)$ http://localhost/awstats/$2 [P]
</IfModule>
ScriptAlias /awstats "/var/www/awstats/awstats.pl"
# ScriptAlias /stats/ "/var/www/awstats/"
<Directory "/var/www/awstats">
AllowOverride none
Options +ExecCGI
DirectoryIndex awstats.pl
Order allow,deny
Allow from all
</Directory>
#Alias /css/ /var/www/awstats/css/
#Alias /js/ /var/www/awstats/js/
</VirtualHost>
#
# AWStats End
#
И для каждого домена в ispcp.conf
Code:
# httpd awstats support BEGIN.
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /stats http://localhost/stats/veterinars.ru
ProxyPassReverse /stats http://localhost/stats/veterinars.ru
<Location /stats>
AuthType Basic
AuthName "Statistics for domain veterinars.ru"
AuthUserFile /var/www/virtual/veterinars.ru/.htpasswd
AuthGroupFile /var/www/virtual/veterinars.ru/.htgroup
Require group statistics
</Location>
# httpd awstats support END.
Проверьте существует ли в папке домена файл .htgroup
Вообще, звщищённый пользователь для awstat в панели создан?