problem error 404 with awstats

Post Reply
alter
Posts: 6
Joined: Thu Feb 23, 2023 10:43 am

Hi. I have restored a site from an old vestaCP server to my new myvesta server. All is ok, but awstats desn't work.

I reset web statistics to none, then I chose awstats, and mysite.com/vstats/ still go to error 404.

2023/05/03 08:36:15 [error] 281619#281619: *3634 openat() "/home/user/web/myite.com/public_html/vstats/index.html" failed (2: No such file or directory), server: mysite.com, request: "GET /vstats/index.html HTTP/2.0", host: "www.mysite.com"

If I configure awstats on a new website , it works ok.

The problem is only on restored site. Is there a problem with configuration? thank you
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

try to put "hosting-legacy" or "force-https-legacy" nginx proxy template.
alter
Posts: 6
Joined: Thu Feb 23, 2023 10:43 am

ok, I put hosting-legacy and it works fine. Thanx a lot
Post Reply