Support the ongoing development of Laravel.io →
Configuration Requests Architecture
Last updated 1 year ago.
0

If you can, you should install laravel in the root of you public folder and point apache to your public folder.

If you want to create a custom url you can use a route.

Route::group(['prefix' => 'mti'], function(){
    Route::any('client', 'ClientsController@index');
    Route::any('admin', 'AdminController@index');
});

The index method and ClientsController and AdminController should return a a view.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.