In your laravel app there is a folder public, it contains index.php, so you can map your document root from apache to that folder.
If you added your laravel files in your local apache root folder, you can access it in
http://localhost/public/
Or as dorfelixb suggested, map it in your apache configuration/virtual host
# The location of our projects public directory.
DocumentRoot /path/to/your/public
so you can access the page directly via http://localhost
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community