My access to this hosting can only be from the folder public_html
forward, I can not access a level back.
I put all project files within public_html
and entered a htaccess
with
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
and it did not work, it returns me a blank page.
What's wrong with it?