After transferring a working project from localhost to server, it displays an error

Internal Server Error

I was unable to complete your request.

  • Too little information to answer the question, please look at the logs and add a question from the logs. - cheops
  • composer install not forgotten, the database was configured, .env transferred, permissions on folders allow php to write to /storage and /bootsrap/cache ? - Sergiks

1 answer 1

For those who can not configure Laravel 5. At the moment there is such a solution:

  1. Create .htaccess in the root directory with the following contents:

    RewriteEngine On RewriteCond %{REQUEST_URI} !^public RewriteRule ^ public/index.php [L]

  2. Next in the htaccess file, which is in the public folder, comment out

    Options -MultiViews

  3. After that, everything should work correctly.