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 |
---|---|---|---|---|
Z | AWstats access outside cPanel | Site Performance Analytics | 1 | |
E | AWstats access outside cPanel | Site Performance Analytics | 8 | |
![]() |
View Stats outside cpanel | Site Performance Analytics | 1 | |
B | awstats proxy display outside cPanel | Site Performance Analytics | 1 | |
J | Show AwStats Outside of cPanel? | Site Performance Analytics | 2 |