I guess the problem is with your web server configuration.
So I do not think that looking at your project files will solve the problem.
First, please determine if it is your web server or CI4 that is giving you that error.
If you are sure that CI4 is giving you that error, then the problem is in your project files.