My guess is that you have uploaded the source files into the webroot of whatever hosting service you’re using. The source files should not be stored in a web servable location, only the web folder should be.
The rewrite rules they gave you do not address the underlying issue, which is that your source files are all web servable.