I get new vps, update ubuntu and install webinoly. Then i added -php site, upload here index.php and some media files. And i get:
How can I fix it?
If i add site as -html (not -php) — this problem does not exist.
That's because PHP sites are configured to be "dynamic" by default.
For example, in a CMS like WordPress, all non-php requests (if not exists) are internally redirected to index.php and the requested page is built dynamically because it really doesn't exist as a file in your server.
That's why your non-php request returns a 200 code, because they are redirected to index.php, that it actually exists.
Solution: Webinoly has an option to create "fully custom sites", that way you can create your very own custom configuration.
Post your solution with details and maybe somebody can help you to correct what you are trying to do. But based on your comments and your attitude, I don't think someone wants to help you. Bye!
PayPal · GitHub Sponsors · Bitcoin