We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Where is Awstats?
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
Where is Awstats?
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.
Did I missed something?
Thank you.
Re: Where is Awstats?
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.
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
Re: Where is Awstats?
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:
Thank you.
However, when I clicked that link, I got following 403 error:
What may be the cause?Forbidden
You don't have permission to access /vstats/ on this server.
Thank you.
Re: Where is Awstats?
The problem is with permissions.
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.
Code: Select all
chmod 777 -R /home/admin/web/your-domain.com/stats
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
Re: Where is Awstats?
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.
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.
Re: Where is Awstats?
Check if 644 or 655 could do the trick.
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
Re: Where is Awstats?
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.
This is not a good solution.
Thank you.
Re: Where is Awstats?
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.
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
Re: Where is Awstats?
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!
Ok, this can prevent public access of the web stats.
Thank you very much!
Re: Where is Awstats?
Solution.
Code: Select all
chmod 744 /home/admin/web/example.com/stats