VirtualHost with Laravel and Xampp

0

I have a query when configuring the virtual host with a laravel project every time I put localhost redirects me to the laravel project, and if I wanted to change to another one that is in my folder htdocs does not allow me and I wanted to know if every time I want to do that I have to disable the virtual host or I have something wrong configured

So I have the virtualhost

#VHost Curso Laravel
<VirtualHost *:80>
    ServerName cursolaravel1.com.devel
    ServerAlias www.cursolaravel1.com.devel
    DocumentRoot "C:/xampp/htdocs/laravel/probando-laravel/public"
    <Directory "C:/xampp/htdocs/laravel/probando-laravel/public">
        Options All
        AllowOverride All
        Order Allow,Deny
        Allow from all
    </Directory>
</VirtualHost>

and in System32 / etc in the host file is this way

127.0.0.1           cursolaravel1.com.devel

If I comment on the virtualhost without problems, I can access more projects, but when I activate them, I can only navigate in laravel even if I put "localhost / another project"

    
asked by Ricardo Jesus Jarquin Perez 21.06.2018 в 19:47
source

0 answers