1.)anu maganda gawin kasi kapag nilalagay yun project ko sa htdocs->laravelsample ito yun buong folder ko.. sa htdocs naman meron naman ako .htaccess ito laman <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^(.*)$ /laravelsample/public/$1 [L]</IfModule> kaso nag error 500.
2.)ngaun naman nilalagay ko yun buong files naman ng public sa htdocs tapoos iniiedit ko yun
<?php
use Illuminate\Http\Request;
define('LARAVEL_START', microtime(true));
// Determine if the application is in maintenance mode...
if (file_exists($maintenance = DIR.'/laravelsample/storage/framework/maintenance.php')) {
require $maintenance;
}
// Register the Composer autoloader...
require DIR.'/laravelsample/vendor/autoload.php';
// Bootstrap Laravel and handle the request...
(require_once DIR.'/laravelsample/bootstrap/app.php')
->handleRequest(Request::capture());
ayaw pa din yaw kasi napanood ko sa youtube baka meron kayo ibang way o paraan
2.)ngaun naman nilalagay ko yun buong files naman ng public sa htdocs tapoos iniiedit ko yun
<?php
use Illuminate\Http\Request;
define('LARAVEL_START', microtime(true));
// Determine if the application is in maintenance mode...
if (file_exists($maintenance = DIR.'/laravelsample/storage/framework/maintenance.php')) {
require $maintenance;
}
// Register the Composer autoloader...
require DIR.'/laravelsample/vendor/autoload.php';
// Bootstrap Laravel and handle the request...
(require_once DIR.'/laravelsample/bootstrap/app.php')
->handleRequest(Request::capture());
ayaw pa din yaw kasi napanood ko sa youtube baka meron kayo ibang way o paraan