If you server is using phpsuexec you also need todgbaker said:Actually for awstats there is one way that works.
Create a subdomain called whatever.domain.com or do the following in the /home/username/www directory.
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
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:
|Thread starter||Similar threads||Forum||Replies||Date|
|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|