Current time: 05-25-2024, 05:08 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
не работает статистика
Author Message
server801 Offline
Moderator
*****
Moderators

Posts: 349
Joined: Mar 2009
Reputation: 1
Post: #1
не работает статистика
не работает статистика,вот что пишет при заходе на домен
http://domain.ltd/stats/
Quote:You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. You don't have permission to access the requested object. It is either read-protected or not readable by the server.
версия ispcp 1.0.3
(This post was last modified: 11-23-2009 06:00 PM by server801.)
11-23-2009 05:59 PM
Visit this user's website Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #2
RE: не работает статистика
Настройки подстановки апача через модреврайт...
В своё время наимелся. Но умну СентОС.
11-24-2009 04:05 AM
Visit this user's website Find all posts by this user Quote this message in a reply
server801 Offline
Moderator
*****
Moderators

Posts: 349
Joined: Mar 2009
Reputation: 1
Post: #3
RE: не работает статистика
никто не поможет?
default-error.log
Code:
Wed Nov 25 11:09:45 2009] [error] [client 192.168.1.5] user *******.ru not found: /stats/
[Wed Nov 25 11:09:46 2009] [error] [client 192.168.1.5] user staynet.vfosee.ru not found: /stats/
[Wed Nov 25 11:09:51 2009] [error] [client 192.168.1.5] client denied by server configuration: proxy:http://localhost/awstats/
[Wed Nov 25 11:09:51 2009] [error] an unknown filter was not added: includes
[Wed Nov 25 11:10:21 2009] [error] [client 192.168.1.5] client denied by server configuration: proxy:http://localhost/awstats/
[Wed Nov 25 11:10:21 2009] [error] an unknown filter was not added: includes
(This post was last modified: 11-25-2009 06:18 PM by server801.)
11-25-2009 06:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #4
RE: не работает статистика
mod_security2 пробовали отключать?
11-26-2009 03:16 AM
Visit this user's website Find all posts by this user Quote this message in a reply
server801 Offline
Moderator
*****
Moderators

Posts: 349
Joined: Mar 2009
Reputation: 1
Post: #5
RE: не работает статистика
(11-26-2009 03:16 AM)data-stream_ru Wrote:  mod_security2 пробовали отключать?
Code:
ls mods-available
итого 400
drwxr-xr-x 2 root root 12288 Ноя 22 23:56 .
drwxr-xr-x 9 root root  4096 Ноя 21 01:57 ..
-rw-r--r-- 1 root root   332 Июл 15 00:00 actions.conf
-rw-r--r-- 1 root root    66 Июл 15 00:00 actions.load
-rw-r--r-- 1 root root   815 Июл 15 00:00 alias.conf
-rw-r--r-- 1 root root    62 Июл 15 00:00 alias.load
-rw-r--r-- 1 root root    60 Июл 15 00:00 asis.load
-rw-r--r-- 1 root root    72 Июл 15 00:00 auth_basic.load
-rw-r--r-- 1 root root    74 Июл 15 00:00 auth_digest.load
-rw-r--r-- 1 root root    74 Июл 15 00:00 authn_alias.load
-rw-r--r-- 1 root root    72 Июл 15 00:00 authn_anon.load
-rw-r--r-- 1 root root    85 Июл 15 00:00 authn_dbd.load
-rw-r--r-- 1 root root    70 Июл 15 00:00 authn_dbm.load
-rw-r--r-- 1 root root    78 Июл 15 00:00 authn_default.load
-rw-r--r-- 1 root root    72 Июл 15 00:00 authn_file.load
-rw-r--r-- 1 root root    90 Июл 15 00:00 authnz_ldap.load
-rw-r--r-- 1 root root    70 Июл 15 00:00 authz_dbm.load
-rw-r--r-- 1 root root    78 Июл 15 00:00 authz_default.load
-rw-r--r-- 1 root root    82 Июл 15 00:00 authz_groupfile.load
-rw-r--r-- 1 root root    72 Июл 15 00:00 authz_host.load
-rw-r--r-- 1 root root    74 Июл 15 00:00 authz_owner.load
-rw-r--r-- 1 root root    72 Июл 15 00:00 authz_user.load
-rw-r--r-- 1 root root  3265 Июл 15 00:00 autoindex.conf
-rw-r--r-- 1 root root    70 Июл 15 00:00 autoindex.load
-rw-r--r-- 1 root root    62 Июл 15 00:00 cache.load
-rw-r--r-- 1 root root    70 Июл 15 00:00 cern_meta.load
-rw-r--r-- 1 root root    68 Июл 15 00:00 cgid.conf
-rw-r--r-- 1 root root    60 Июл 15 00:00 cgid.load
-rw-r--r-- 1 root root    58 Июл 15 00:00 cgi.load
-rw-r--r-- 1 root root    76 Июл 15 00:00 charset_lite.load
-rw-r--r-- 1 root root    36 Июл 15 00:00 dav_fs.conf
-rw-r--r-- 1 root root    79 Июл 15 00:00 dav_fs.load
-rw-r--r-- 1 root root    58 Июл 15 00:00 dav.load
-rw-r--r-- 1 root root    68 Июл 15 00:00 dav_lock.load
-rw-r--r-- 1 root root    58 Июл 15 00:00 dbd.load
-rw-r--r-- 1 root root   107 Июл 15 00:00 deflate.conf
-rw-r--r-- 1 root root    66 Июл 15 00:00 deflate.load
-rw-r--r-- 1 root root   122 Июл 15 00:00 dir.conf
-rw-r--r-- 1 root root    58 Июл 15 00:00 dir.load
-rw-r--r-- 1 root root   604 Июл 15 00:00 disk_cache.conf
-rw-r--r-- 1 root root    89 Июл 15 00:00 disk_cache.load
-rw-r--r-- 1 root root    64 Июл 15 00:00 dump_io.load
-rw-r--r-- 1 root root    58 Июл 15 00:00 env.load
-rw-r--r-- 1 root root    66 Июл 15 00:00 expires.load
-rw-r--r-- 1 root root    72 Июл 15 00:00 ext_filter.load
-rw-r--r-- 1 root root   154 Апр  3  2008 fastcgi.conf
-rw-r--r-- 1 root root  1585 Окт 26 09:44 fastcgi_ispcp.conf
-rw-r--r-- 1 root root   104 Окт 26 09:44 fastcgi_ispcp.load
-rw-r--r-- 1 root root    66 Апр  3  2008 fastcgi.load
-rw-r--r-- 1 root root    90 Окт 16  2007 fcgid.conf
-rw-r--r-- 1 root root  1290 Окт 26 09:44 fcgid_ispcp.conf
-rw-r--r-- 1 root root    98 Окт 25 23:36 fcgid_ispcp.load
-rw-r--r-- 1 root root    62 Окт 16  2007 fcgid.load
-rw-r--r-- 1 root root    89 Июл 15 00:00 file_cache.load
-rw-r--r-- 1 root root    64 Июл 15 00:00 filter.load
-rw-r--r-- 1 root root    66 Июл 15 00:00 headers.load
-rw-r--r-- 1 root root    62 Июл 15 00:00 ident.load
-rw-r--r-- 1 root root    68 Июл 15 00:00 imagemap.load
-rw-r--r-- 1 root root    66 Июл 15 00:00 include.load
-rw-r--r-- 1 root root   420 Июл 15 00:00 info.conf
-rw-r--r-- 1 root root    60 Июл 15 00:00 info.load
-rw-r--r-- 1 root root    60 Июл 15 00:00 ldap.load
-rw-r--r-- 1 root root    76 Июл 15 00:00 log_forensic.load
-rw-r--r-- 1 root root   185 Июл 15 00:00 mem_cache.conf
-rw-r--r-- 1 root root    87 Июл 15 00:00 mem_cache.load
-rw-r--r-- 1 root root  6362 Июл 15 00:00 mime.conf
-rw-r--r-- 1 root root    60 Июл 15 00:00 mime.load
-rw-r--r-- 1 root root    89 Июл 15 00:00 mime_magic.conf
-rw-r--r-- 1 root root    72 Июл 15 00:00 mime_magic.load
-rw-r--r-- 1 root root   101 Ноя 23 00:02 mod-security.load
-rw-r--r-- 1 root root   666 Июл 15 00:00 negotiation.conf
-rw-r--r-- 1 root root    74 Июл 15 00:00 negotiation.load
-rw-r--r-- 1 root root    87 Июл 15 00:00 proxy_ajp.load
-rw-r--r-- 1 root root    97 Июл 15 00:00 proxy_balancer.load
-rw-r--r-- 1 root root   585 Окт 26 09:44 proxy.conf
-rw-r--r-- 1 root root    95 Июл 15 00:00 proxy_connect.load
-rw-r--r-- 1 root root    87 Июл 15 00:00 proxy_ftp.load
-rw-r--r-- 1 root root    89 Июл 15 00:00 proxy_http.load
-rw-r--r-- 1 root root    62 Июл 15 00:00 proxy.load
-rw-r--r-- 1 root root    66 Июл 15 00:00 rewrite.load
-rw-r--r-- 1 root root    91 Окт 30  2007 rpaf.conf
-rw-r--r-- 1 root root    60 Окт 30  2007 rpaf.load
-rw-r--r-- 1 root root  1122 Июл 15 00:00 setenvif.conf
-rw-r--r-- 1 root root    68 Июл 15 00:00 setenvif.load
-rw-r--r-- 1 root root    66 Июл 15 00:00 speling.load
-rw-r--r-- 1 root root  2414 Окт 26 14:03 ssl.conf
-rw-r--r-- 1 root root    58 Июл 15 00:00 ssl.load
-rw-r--r-- 1 root root   398 Июл 15 00:00 status.conf
-rw-r--r-- 1 root root    64 Июл 15 00:00 status.load
-rw-r--r-- 1 root root    72 Июл 15 00:00 substitute.load
-rw-r--r-- 1 root root    64 Июл 15 00:00 suexec.load
-rw-r--r-- 1 root root    70 Июл 15 00:00 unique_id.load
-rw-r--r-- 1 root root   604 Июл 15 00:00 userdir.conf
-rw-r--r-- 1 root root    66 Июл 15 00:00 userdir.load
-rw-r--r-- 1 root root    70 Июл 15 00:00 usertrack.load
-rw-r--r-- 1 root root    66 Июл 15 00:00 version.load
-rw-r--r-- 1 root root    74 Июл 15 00:00 vhost_alias.load
Code:
/etc/apache2# ls mods-enabled
итого 8
drwxr-xr-x 2 root root 4096 Ноя 22 23:56 .
drwxr-xr-x 9 root root 4096 Ноя 21 01:57 ..
lrwxrwxrwx 1 root root   30 Окт 25 20:25 actions.conf -> ../mods-available/actions.conf
lrwxrwxrwx 1 root root   30 Окт 25 20:25 actions.load -> ../mods-available/actions.load
lrwxrwxrwx 1 root root   28 Окт 25 20:09 alias.conf -> ../mods-available/alias.conf
lrwxrwxrwx 1 root root   28 Окт 25 20:09 alias.load -> ../mods-available/alias.load
lrwxrwxrwx 1 root root   33 Окт 25 20:09 auth_basic.load -> ../mods-available/auth_basic.load
lrwxrwxrwx 1 root root   33 Окт 25 20:09 authn_file.load -> ../mods-available/authn_file.load
lrwxrwxrwx 1 root root   36 Окт 25 20:09 authz_default.load -> ../mods-available/authz_default.load
lrwxrwxrwx 1 root root   38 Окт 25 20:09 authz_groupfile.load -> ../mods-available/authz_groupfile.load
lrwxrwxrwx 1 root root   33 Окт 25 20:09 authz_host.load -> ../mods-available/authz_host.load
lrwxrwxrwx 1 root root   33 Окт 25 20:09 authz_user.load -> ../mods-available/authz_user.load
lrwxrwxrwx 1 root root   32 Окт 25 20:09 autoindex.conf -> ../mods-available/autoindex.conf
lrwxrwxrwx 1 root root   32 Окт 25 20:09 autoindex.load -> ../mods-available/autoindex.load
lrwxrwxrwx 1 root root   27 Окт 25 20:09 cgid.conf -> ../mods-available/cgid.conf
lrwxrwxrwx 1 root root   27 Окт 25 20:09 cgid.load -> ../mods-available/cgid.load
lrwxrwxrwx 1 root root   30 Окт 25 20:09 deflate.conf -> ../mods-available/deflate.conf
lrwxrwxrwx 1 root root   30 Окт 25 20:09 deflate.load -> ../mods-available/deflate.load
lrwxrwxrwx 1 root root   26 Окт 25 20:09 dir.conf -> ../mods-available/dir.conf
lrwxrwxrwx 1 root root   26 Окт 25 20:09 dir.load -> ../mods-available/dir.load
lrwxrwxrwx 1 root root   26 Окт 25 20:09 env.load -> ../mods-available/env.load
lrwxrwxrwx 1 root root   34 Окт 25 23:36 fcgid_ispcp.conf -> ../mods-available/fcgid_ispcp.conf
lrwxrwxrwx 1 root root   34 Окт 25 23:36 fcgid_ispcp.load -> ../mods-available/fcgid_ispcp.load
lrwxrwxrwx 1 root root   27 Окт 25 20:09 mime.conf -> ../mods-available/mime.conf
lrwxrwxrwx 1 root root   27 Окт 25 20:09 mime.load -> ../mods-available/mime.load
lrwxrwxrwx 1 root root   35 Ноя 22 23:56 mod-security.load -> ../mods-available/mod-security.load
lrwxrwxrwx 1 root root   34 Окт 25 20:09 negotiation.conf -> ../mods-available/negotiation.conf
lrwxrwxrwx 1 root root   34 Окт 25 20:09 negotiation.load -> ../mods-available/negotiation.load
lrwxrwxrwx 1 root root   28 Окт 25 20:25 proxy.conf -> ../mods-available/proxy.conf
lrwxrwxrwx 1 root root   33 Окт 25 20:25 proxy_http.load -> ../mods-available/proxy_http.load
lrwxrwxrwx 1 root root   28 Окт 25 20:25 proxy.load -> ../mods-available/proxy.load
lrwxrwxrwx 1 root root   30 Окт 25 20:25 rewrite.load -> ../mods-available/rewrite.load
lrwxrwxrwx 1 root root   27 Ноя 13 01:47 rpaf.conf -> ../mods-available/rpaf.conf
lrwxrwxrwx 1 root root   27 Ноя 13 01:47 rpaf.load -> ../mods-available/rpaf.load
lrwxrwxrwx 1 root root   31 Окт 25 20:09 setenvif.conf -> ../mods-available/setenvif.conf
lrwxrwxrwx 1 root root   31 Окт 25 20:09 setenvif.load -> ../mods-available/setenvif.load
lrwxrwxrwx 1 root root   26 Ноя 18 21:55 ssl.conf -> ../mods-available/ssl.conf
lrwxrwxrwx 1 root root   26 Ноя 18 21:55 ssl.load -> ../mods-available/ssl.load
lrwxrwxrwx 1 root root   29 Окт 25 20:09 status.conf -> ../mods-available/status.conf
lrwxrwxrwx 1 root root   29 Окт 25 20:09 status.load -> ../mods-available/status.load
lrwxrwxrwx 1 root root   29 Окт 25 20:25 suexec.load -> ../mods-available/suexec.load
lrwxrwxrwx 1 root root   32 Ноя 22 23:56 unique_id.load -> ../mods-available/unique_id.load

его вообще нету...
11-26-2009 04:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #6
RE: не работает статистика
А этта что?
lrwxrwxrwx 1 root root 35 Ноя 22 23:56 mod-security.load -> ../mods-available/mod-security.load
11-28-2009 09:48 AM
Visit this user's website Find all posts by this user Quote this message in a reply
server801 Offline
Moderator
*****
Moderators

Posts: 349
Joined: Mar 2009
Reputation: 1
Post: #7
RE: не работает статистика
выключил его я.проблема осталась той же.
11-29-2009 07:27 PM
Visit this user's website Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #8
RE: не работает статистика
/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 в панели создан?
11-30-2009 02:11 AM
Visit this user's website Find all posts by this user Quote this message in a reply
server801 Offline
Moderator
*****
Moderators

Posts: 349
Joined: Mar 2009
Reputation: 1
Post: #9
RE: не работает статистика
Code:
cat /etc/ispcp/apache/01_awstats.conf
#
# ispCP ω (OMEGA) a Virtual Hosting Control System
#
# @copyright    2006-2009 by ispCP | http://isp-control.net
# @version              SVN: $Id: 01_awstats.conf 1574 2009-03-05 05:57:05Z benedikt $
# @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 "{AWSTATS_WEB_DIR}/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/$1 [P]
        RewriteRule ^/stats/(.*)$ http://localhost/stats/$1/ [R]
    </IfModule>

    ScriptAlias /awstats "{AWSTATS_ENGINE_DIR}/awstats.pl"

    <Directory {AWSTATS_ENGINE_DIR}>
        AllowOverride none
        Options +ExecCGI
        DirectoryIndex awstats.pl
        Order allow,deny
        Allow from all
    </Directory>

</VirtualHost>

#
# AWStats End
#
Code:
ProxyRequests Off

   <Proxy *>
      Order deny,allow
      Allow from all
   </Proxy>

   ProxyPass                    /stats  http://localhost/stats/webhost.vfose.ru
   ProxyPassReverse             /stats  http://localhost/stats/webhost.vfose.ru

    <Location /stats>
        <IfModule mod_rewrite.c>
            RewriteEngine on
            RewriteRule ^(.+)\?config=([^\?\&]+)(.*) $1\?config=webhost.vfose.ru&$3 [NC,L]
        </IfModule>
        AuthType Basic
        AuthName "Statistics for domain webhost.vfose.ru"
        AuthUserFile /var/www/virtual/webhost.vfose.ru/.htpasswd
        AuthGroupFile /var/www/virtual/webhost.vfose.ru/.htgroup
        Require group statistics
    </Location>
вот и все что есть...насчет всего остального все в поряде.
(This post was last modified: 11-30-2009 04:45 AM by server801.)
11-30-2009 04:37 AM
Visit this user's website Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #10
RE: не работает статистика
Ошибка подстановки переменной мод_реврайта
Это как минимум.
Найдите сами отличия в конфигах.
12-01-2009 08:58 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)