Webhosting Blog

Webalizer stats without cpanel login


Sometimes we would just like to view the site stats, but without login to cPanel.

We can follow following steps in order to make available the site stats (webalizer) without login to cPanel:

1)Login to the server as root.

2)Go to the document root of the domain.

[root@server~]# cd /home/user/public_html

3)Open the .htaccess file. If it does not exist, create it.

[root@server~]# vi .htaccess

Insert the following line in the file:

Options +FollowSymLinks

4)Now lets create a symbolic link for the webalizer stats so it can be accessed without logging in to cpanel.

The webalizer stats for the domain are always available under /home/user/tmp/webalizer.

We will create a symbolic link for this.

[root@server~]# ln -s /home/user/tmp/webalizer domainname.stats

Assign proper ownership

[root@server~]# chown user.user domainname.stats

Assign appropriate permissions as well.

[root@server~]# chmod 755 /home/user/tmp/webalizer

5)Now you can access the webalizer stats without login to cPanel.

Access http://domain.com/domainname.stats/ to view the webalizer stats.

Advertisements

2 responses

  1. Pingback: - Maw New Super Affiliate Blog | Maw New Super Affiliate Blog

  2. thank you for this….

    July 7, 2012 at 1:08 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s