Some of shared hosting provider doesn’t allow to change main document root (e.g. public_html) to any other directory. In this case, How can we install shopware 6.5 on shared server and redirect all request to public/ directory. I have tried below redirect rule on root .htaccess but it’s not working.
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^(.*)$ public/$1 [L]