It might be something else.
However, one thing looks wrong: you should not have public in your URL.
Did you configure your virtualhost with DocumentRoot correctly?
The truth is that it is not a site deployed by me. I’m simply fixing the issue, after updating the server headers, and the only thing I had left to resolve was this.
It already seems strange to me that /public/ appears, because that shouldn’t happen. At least when I work with Laravel, the post is not part of the urls. It’s ridiculous.
It is an installation in a cpanel, which I suspect that the user who installed it did it wrong.
This suggests there is a problem with the .htaccess which should be located within public/legacy/.htaccess, you could try running a Rebuild .htaccess File which is located within Admin->Repair
but equally you may need to manually fix the .htaccess based on your setup