Vhost and Laravel

Back to homepage

Vhost and Laravel

To be able to access the new project(blog) from the localhost by accessing http://blog.local  you must find and edit the file httpd-vhost.php (try Applications/AMPPS/apache/conf/extra/httpd-vhost.php): <VirtualHost 127.0.0.1:80> ServerName blog.local DocumentRoot “/Applications/AMPPS/www/blog/public” <Directory “/Applications/AMPPS/www/blog/public”> Allow From All RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f

Read More

Add PATH so the laravel executable can be located by your system

A first problem for me was thatI didn;t know where to add ~/.composer/vendor/bin . I searched on the internet and I read all kind of answers like edit ~/.basrc or ~/.bash-profile or ~/.z something. The quick answer is to give the

Read More