Dear members of the xampp apache community, Good morning !; Mr. José Fernando Frugone Jaramillo from Ecuador (Guayaquil) greets you, Blessings to all !; I would like you to help me with a query that I am going to ask you: I have developed a laravel 5.7 project, of which I have developed it completely in this php framework, it is in the directory c: \ xampp \ htdocs \ proyectolaravel, of which I base myself on the laravel documentation at the following link https://laravel.com/docs/5.7 and to open my project I have installed a software called "Visual Studio Code" on my computer; from the Visual Studio Code command terminal the command to execute laravel projects is php artisan serve, the address it gives is http://127.0.0.1:8000 my question is the following, in the file "C: \ xampp \ apache \ conf \ extra \ httpd-vhosts.conf "I have specified the following code for my laravel project
- Code: Select all
<VirtualHost *: 80>
ServerAdmin laravel.dev
DocumentRoot "C: / xampp / htdocs / proyectolaravel / public"
<Directory "C: / xampp / htdocs / proyectolaravel / public">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
How should the code be created or specified in Virtual Host so that in the Google Chrome navigation bar it runs at the address 127.0.0.1:8000 which is when a laravel project is run with php artisan serve?