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|
|E||AWstats access outside cPanel||General Discussion||8|
|View Stats outside cpanel||General Discussion||1|
|B||awstats proxy display outside cPanel||General Discussion||1|
|S||Bandwidth Stats outside cPanel||General Discussion||3|
|J||Show AwStats Outside of cPanel?||General Discussion||2|