If you server is using phpsuexec you also need todgbaker said:Actually for awstats there is one way that works.
See http://stats.dgbaker.net/awstats.pl?config=dgbaker.net&lang=en
Create a subdomain called whatever.domain.com or do the following in the /home/username/www directory.
cd /home/user/www/whatever
cp /usr/local/cpanel/base/awstats.pl .
ln -s /usr/local/cpanel/base/images images
ln -s /usr/local/cpanel/3rdparty/bin/lib lib
The very big draw back is the copy of awstats.pl. If changes happen to the original then this one would need to be manually
updated.
Also the images part, because awstats looks for /images it must be at the top level directory.
The php script looks good for awstats, but it requires that the cPanel username and password are hard-coded in the script. Putting the security issue to one side, hard coding this stuff means that if I update the password via cPanel/WHM then this script breaks. Presumably the same script could be modified to work such that the regular .htaccess-style username and password authentication is still required.RickG said:You may want to check out www.josheli.com/vox/. Great scripts for both AWStats and Webalizer that will accomplish what you want.
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
M | eximstats | General Discussion | 5 | |
A | Is it safe to delete eximstats.sql inside /var/cpanel/sql | General Discussion | 1 | |
![]() |
View Stats outside cpanel | General Discussion | 1 | |
C | Access server stats outside of CPanel | General Discussion | 3 | |
S | access stats outside cpanel | General Discussion | 0 |