ispCP - Board - Support
http://domain.tld/stats problem !! - 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: http://domain.tld/stats problem !! (/thread-8448.html)



http://domain.tld/stats problem !! - menaco - 11-15-2009 12:52 AM

Hi
when i go to http://domain.tld/stats it require username and pass then i enter my domain user/pass but it never accept it...
please any idea ???


RE: http://domain.tld/stats problem !! - menaco - 11-16-2009 01:01 AM

I solved login problem with control-panel -> webtools -> user&group management -> then i changed domain.tld pass and i can login correctly(ispcp has hashing problem with .htpasswd in domain creation time you must change it again... )
But it can't show stats because of this error:
Not Found

The requested URL /awstats/ was not found on this server.
Apache/2.2.3 (CentOS) Server at localhost Port 80


please any help ???


RE: http://domain.tld/stats problem !! - lominomagico - 11-25-2009 07:08 PM

i have same problem


RE: http://domain.tld/stats problem !! - gOOvER - 11-25-2009 07:26 PM

I think FreeBSD is not so supported as it should. There is a lot to do. Maybe you can figure out, whats wrong and tell us, how to fix Smile


RE: http://domain.tld/stats problem !! - server801 - 11-26-2009 06:43 PM

(11-25-2009 07:08 PM)lominomagico Wrote:  i have same problem
write you tuned on FreeBSD this panel. to the normal documentation-how to on FreeBSD


RE: http://domain.tld/stats problem !! - edeis - 05-14-2010 07:16 AM

I am having the same problem. Can't access AWStats for domains. I am pretty sure that it was installed with ISPcp.

http://domain.tld/stats/

Not Found
The requested URL /awstats/ was not found on this server.

# locate awstats
/vz/private/121/etc/awstats/awstats.myhost.tld.conf
/vz/private/121/etc/awstats/awstats.domain.tld.conf
/vz/private/121/etc/awstats/awstats.localhost.localdomain.conf
/vz/private/121/etc/awstats/awstats.model.conf
/vz/private/121/etc/cron.hourly/awstats
/vz/private/121/etc/httpd/conf.d-disabled/awstats.conf
/vz/private/121/etc/httpd/vhosts/01_awstats.conf
/vz/private/121/etc/ispcp/awstats
/vz/private/121/etc/ispcp/apache/01_awstats.conf

I am running CentOS5.4 with 1.0.5 Omega.

Do you think that it is just a problem with the config here?
/vz/private/121/etc/httpd/vhosts/01_awstats.conf

Tips on how to solve appreciated!


RE: http://domain.tld/stats problem !! - edeis - 05-14-2010 09:50 AM

I figured it out. This is how to get awstats to work on CentOS:

/etc/httpd/vhosts/01_awstats.conf


#
# AWStats Begin
#

#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]
RewriteRule ^/stats/(.*)$ http://localhost/stats/$1/ [R]
</IfModule>
Alias /awstatsclasses "/usr/share/awstats/wwwroot/classes/"
Alias /awstatscss "/usr/share/awstats/wwwroot/css/"
Alias /awstatsicons "/usr/share/awstats/wwwroot/icon/"
ScriptAlias /awstats "/usr/share/awstats/wwwroot/cgi-bin/awstats.pl"

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

#</VirtualHost>

#
# AWStats End
#