Support the ongoing development of Laravel.io →
Laravel Configuration
Last updated 2 years ago.
0
Solution

you can make a vhost in apache !

<VirtualHost *:80>

ServerName myapp.test

DocumentRoot "/path/to/folder/myapp/public"

<Directory "/path/to/folder/myapp/public">

AllowOverride all    
</Directory> </VirtualHost>

Then you make a entry in your host file :

127.0.0.1 myapp.test

this should do the trick !

0

Sign in to participate in this thread!

Eventy

Your banner here too?

SaleB saleb Joined 11 Apr 2018

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.