I try to put online my project in laravel 7 in ionos, i try to added in public/.htaccess but not worked. After i try to add rights with chmod 777 -R myproject. it's not worked after i added i have error 404
someone have idea what i can do?
.htaccess
RewriteEngine On
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^(.*)$ public/$1 [L]
But after i added in htaccess i have error 404 i dont know what i can do. This project it's doing in laravel 7 . but if i remove rewrite cond i have error 403 forbiden rights issue. Someone have idea how i can put online my website without problems?