samedi 18 novembre 2017

Laravel localhost url problems

I use Windows 10 and XAMPP for local development. I want to create project on laravel 5.5 and access it in browser by project.dev

I add next lines to httpd-vhosts.conf file

<VirtualHost project.dev:80>
    DocumentRoot "C:\xampp7\htdocs\server\laravel\project_name\public"
    ServerAdmin project.dev
    <Directory "C:\xampp7\htdocs\server\laravel\project_name">
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
   </Directory>
</VirtualHost>

and

127.0.0.1       project.dev

to hosts file. But it does not work (only for laravel),I get 400 error. This works with all the rest my local projects except those ones on laravel.

I have no problem with access to this project by

http://localhost/server/laravel/project_name/public

What other settings do I have to make to access laravel 5.5 project like project.dev?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2ARWPBn
via IFTTT

Aucun commentaire:

Enregistrer un commentaire