Thursday, September 1, 2016

Acess webaliazer from URL without login cPanel


Intrdouction



The Webalizer interface displays traffic statistics from the Webalizer statistics program. Usually webaliazer is accessed from cPanel menu, but we can make webaliazer stats accessible from a URL without login cPanel.



Requirement



Requires root user privilage



Steps



- Navigate to the user's public_html directory by following command



cd /home/username/public_html





- Add following line to .htaccess file.





Options +FollowSymLinks





- Create a directory "webstats"



mkdir webstats





chown -R username.username webstats





Next, run the following command to create a symlink between webalizer raw data and newly created directory



ln -s /home/username/tmp/webalizer webstats



Now you can access http://www.domain.com/webstats/ to access your webalizer statistics.



Thats all!!


No comments:

Post a Comment