-1
I followed a tutorial where the folder of the Laravel goes outside public_html and changes public_html/index.php to
require __DIR__.'/../projeto/vendor/autoload.php';
$app = require_once __DIR__.'/../projeto/bootstrap/app.php';
and the/server.php project for
if ($uri !== '/' && file_exists(__DIR__.'/../public_html'.$uri)) {
return false;
}
require_once __DIR__.'/../public_html/index.php';
meusite.com/ works but if I put meusite.com/login of error 404, what I’m doing wrong?
my folder format ta like this
-project
--app
--boostrap
-public_html
--css
--img
--js
Thank you in advance
I contacted the support they helped me, my vps is from hostgator, even so thank you very much for the reply
– Faillen