vendredi 30 juin 2017

Laravel : Get 403 Error In Setting Up Project In Cpanel

i'vd created project-name folder inside public_html and placed public's content into it and another folder inside project-name which i named it logic and put all laravel's project file into it except public folder

And

i've modifyed index.php like this

require __DIR__.'/../bootstrap/autoload.php';

to

require __DIR__.'/logic/bootstrap/autoload.php';

also

$app = require_once __DIR__.'/../bootstrap/app.php';

to

$app = require_once __DIR__.'/logic/bootstrap/app.php';

But, when i wanna access to http://ift.tt/2sqyXF5 i got 403 error

folder structure look like this

public_html
  >other_folders
  >project-name
    |logic
      |app
      |bootstrap
      |database
      |and other project's file&folder
    |index.php
    |.htaccess
    |etc



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire