/web/ should be in the URL

I have already contacted the hosting service to try to resolve this issue. They gave me this information

RewriteEngine On
RewriteCond %{REQUEST_URI} !^/web/
RewriteRule ^(.*)$ /web/$1 [L]

but it didn’t work. How do I fix it? I have already edited the .htacess and it didn’t work.

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.

Is it correct this way then?

Is this correct then? Only the files in the print below are inside the web folder