Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Where is Awstats?

General questions about VestaCP
Post Reply
  • Print view
Advanced search
17 posts
  • 1
  • 2
  • Next
baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

Where is Awstats?
  • Quote

Post by baijianpeng » Sun Dec 27, 2015 1:29 am

I noticed that when creating a new website in VestaCP (v0.9.8) , there is options about "enable Awstats", I checked. But I don't know where to see those stats of Awstats. There is no button or link for Awstats.

Did I missed something?

Thank you.
Top

vlahonick
Posts: 50
Joined: Sat Mar 21, 2015 10:08 am

Re: Where is Awstats?
  • Quote

Post by vlahonick » Sun Dec 27, 2015 12:31 pm

Actually there is a link. After enabling Awstats for the desired domain go back to the domain list page (https://your-domain.com:8083/list/web/) and when hover in that specific domain you will see an extra link "OPEN WEBSTATS". Alternatively you can see your stats directly in your-domain.com/vstats/. The same goes for Webalizer.
Top

baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

Re: Where is Awstats?
  • Quote

Post by baijianpeng » Sun Dec 27, 2015 12:44 pm

Thank you. I found this link on the tooltip pop-up ( it is very hard to find out).

However, when I clicked that link, I got following 403 error:
Forbidden

You don't have permission to access /vstats/ on this server.
What may be the cause?

Thank you.
Top

vlahonick
Posts: 50
Joined: Sat Mar 21, 2015 10:08 am

Re: Where is Awstats?
  • Quote

Post by vlahonick » Sun Dec 27, 2015 2:12 pm

The problem is with permissions.

Code: Select all

chmod 777 -R /home/admin/web/your-domain.com/stats
With the command above, you will make your Awstats stats accessible for everybody. If you want to add some security or prevent people from looking up your stats, you can check the stats authorization box for your domain in Vesta.
Top

baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

Re: Where is Awstats?
  • Quote

Post by baijianpeng » Mon Dec 28, 2015 3:20 am

I think, if I was opening that link from my VestaCP Panel instead of input it directly to the address bar of my browser, it should be opened without extra permission settings.

Why this script can not detect that I was the person that had already login in to the VestaCP ? I think this means I should have the right permission to access Awstats pages.

If I set 777 to that path, it will become risky.
Top

vlahonick
Posts: 50
Joined: Sat Mar 21, 2015 10:08 am

Re: Where is Awstats?
  • Quote

Post by vlahonick » Mon Dec 28, 2015 1:24 pm

Check if 644 or 655 could do the trick.
Top

baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

Re: Where is Awstats?
  • Quote

Post by baijianpeng » Mon Dec 28, 2015 1:37 pm

My test indicates that 644 and 655 both can not work. Finally I found out that 744 can work, but the public can also open the stats page.

This is not a good solution.

Thank you.
Top

vlahonick
Posts: 50
Joined: Sat Mar 21, 2015 10:08 am

Re: Where is Awstats?
  • Quote

Post by vlahonick » Tue Dec 29, 2015 10:37 am

As I said above
If you want to add some security or prevent people from looking up your stats, you can check the stats authorization box for your domain in Vesta.
Top

baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

Re: Where is Awstats?
  • Quote

Post by baijianpeng » Tue Dec 29, 2015 1:11 pm

Oh, sorry, I just did not notice the "stats authorization " box. Now I saw it.

Ok, this can prevent public access of the web stats.

Thank you very much!
Top

jonn
Posts: 72
Joined: Sun Jun 08, 2014 12:18 pm

Re: Where is Awstats?
  • Quote

Post by jonn » Wed Feb 10, 2016 6:08 pm

Solution.

Code: Select all

chmod 744 /home/admin/web/example.com/stats
Top


Post Reply
  • Print view

17 posts
  • 1
  • 2
  • Next

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password