I have my project in /var/www/html/project on the server,
When ever i hit example.com shows default server page, Then i tried
example.com/project i got list of my project files/folders, Then i tried example.com/project/public it gave me HTTP ERROR 500 error.
Here is my public/index.php file :
<?php
require __DIR__.'/../bootstrap/autoload.php';
$app = require_once __DIR__.'/../bootstrap/app.php';
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
My project/storage permissions are drwxr-xrwx. 5 root root 4096 Apr 20 12:56 storage
What am i missing ?