Page 1 of 1

problem error 404 with awstats

Posted: Wed May 03, 2023 9:06 am
by alter
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

Re: problem error 404 with awstats

Posted: Wed May 03, 2023 9:36 am
by myVesta
try to put "hosting-legacy" or "force-https-legacy" nginx proxy template.

Re: problem error 404 with awstats

Posted: Wed May 03, 2023 10:12 am
by alter
ok, I put hosting-legacy and it works fine. Thanx a lot